cmake-gui: Drop code not needed with current required CMake version
This commit is contained in:
parent
32a569e877
commit
dd8c2f3e57
@ -2,9 +2,6 @@
|
||||
# file Copyright.txt or https://cmake.org/licensing for details.
|
||||
|
||||
project(QtDialog)
|
||||
if(POLICY CMP0020)
|
||||
cmake_policy(SET CMP0020 NEW) # Drop when CMake >= 2.8.11 required
|
||||
endif()
|
||||
CMake_OPTIONAL_COMPONENT(cmake-gui)
|
||||
find_package(Qt5Widgets QUIET)
|
||||
if (Qt5Widgets_FOUND)
|
||||
|
Loading…
Reference in New Issue
Block a user