Skip to content

Commit

Permalink
Qt-GUI: Disable CMake warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sanssecours committed Jul 29, 2017
1 parent 8ccba64 commit ea01932
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tools/qt-gui/CMakeLists.txt
Expand Up @@ -2,6 +2,10 @@ set(CMAKE_AUTOMOC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(DISCOUNT_FIND_QUIETLY ON)

# Disable warnings about policies in Qt’s CMake code
cmake_policy(SET CMP0043 OLD)
cmake_policy(SET CMP0053 OLD)

set(QCOMPONENTS Core Quick Gui Qml Widgets Test)
find_package(Qt5 COMPONENTS ${QCOMPONENTS})
find_package(Qt5 OPTIONAL_COMPONENTS Svg QUIET)
Expand Down

0 comments on commit ea01932

Please sign in to comment.