diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-05-05 21:21:40 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-05-05 22:03:48 (GMT) |
commit | 50dd15af58aa9fd69549f769916955b46fdad4eb (patch) | |
tree | f369ecab305605f1b9de2a97973430bd5deda598 /Source/QtDialog/CMakeLists.txt | |
parent | f3e216131b7b0a889507c3c4100b298c75ad3d84 (diff) | |
download | CMake-50dd15af58aa9fd69549f769916955b46fdad4eb.zip CMake-50dd15af58aa9fd69549f769916955b46fdad4eb.tar.gz CMake-50dd15af58aa9fd69549f769916955b46fdad4eb.tar.bz2 |
QtDialog: block include-what-you-use
Diffstat (limited to 'Source/QtDialog/CMakeLists.txt')
-rw-r--r-- | Source/QtDialog/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/QtDialog/CMakeLists.txt b/Source/QtDialog/CMakeLists.txt index 8619fe9..9e9df78 100644 --- a/Source/QtDialog/CMakeLists.txt +++ b/Source/QtDialog/CMakeLists.txt @@ -160,6 +160,12 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON) add_executable(cmake-gui WIN32 MACOSX_BUNDLE ${SRCS} ${MANIFEST_FILE}) target_link_libraries(cmake-gui CMakeLib ${QT_QTMAIN_LIBRARY} ${CMake_QT_LIBRARIES}) +# cmake-gui has not been updated for `include-what-you-use`. +# Block the tool until this is done. +set_target_properties(cmake-gui PROPERTIES + CXX_INCLUDE_WHAT_YOU_USE "" + ) + # Files generated by MOC, RCC, and UIC may produce clang-tidy warnings. # We generate a dummy .clang-tidy file in the binary directory that disables # all clang-tidy checks except one that will never match. This one check is |