CMake: Remove a no-longer-needed workaround.

It looks like the setting autogen properties for the wireshark target in
2c62e2eb3f means we don't have to work around CMake issue 22085 any
more.
This commit is contained in:
Gerald Combs 2021-05-14 13:45:47 -07:00
parent e693cd05b1
commit 7b2c0edb74
1 changed files with 0 additions and 7 deletions

View File

@ -1151,13 +1151,6 @@ ws_find_package(Systemd BUILD_sdjournal HAVE_SYSTEMD)
# Build the Qt GUI?
if(BUILD_wireshark)
if(CMAKE_VERSION VERSION_GREATER "3.19.999" AND CMAKE_VERSION VERSION_LESS "3.20.2")
# https://gitlab.kitware.com/cmake/cmake/-/issues/22085
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)
endif()
# Untested, may not work if CMAKE_PREFIX_PATH gets overwritten
# somewhere. The if WIN32 in this place is annoying as well.
if(WIN32)