cmake-gui: Drop code not needed with current required CMake version

This commit is contained in:
Brad King 2019-03-14 11:15:34 -04:00
parent 32a569e877
commit dd8c2f3e57

View File

@ -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)