Merge pull request #5526 from ligfx/fixqtc++17

CMake: make Qt work when using a manual "-std=c++##" flag
This commit is contained in:
Leo Lam 2017-06-04 10:10:54 +02:00 committed by GitHub
commit a33d48dd0d
1 changed files with 1 additions and 0 deletions

View File

@ -1,4 +1,5 @@
find_package(Qt5Widgets REQUIRED)
set_property(TARGET Qt5::Core PROPERTY INTERFACE_COMPILE_FEATURES "")
message(STATUS "Found Qt version ${Qt5Core_VERSION}")
include_directories(${CMAKE_CURRENT_BINARY_DIR})