diff options
author | Brad King <brad.king@kitware.com> | 2018-01-30 16:51:03 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-01-30 16:51:03 (GMT) |
commit | 45f6aa3235691dbbcedae082c2513cdf13ec2fd1 (patch) | |
tree | f0806dc9cf626efe68ec1c220a2c0e60610b841d /Source/QtDialog | |
parent | 142938225e572d846c956f9b1f54d24a960379ab (diff) | |
download | CMake-45f6aa3235691dbbcedae082c2513cdf13ec2fd1.zip CMake-45f6aa3235691dbbcedae082c2513cdf13ec2fd1.tar.gz CMake-45f6aa3235691dbbcedae082c2513cdf13ec2fd1.tar.bz2 |
Windows: Embed version information into cmake-gui
In commit 5b9da05b7a (Windows: Embed version information into CMake
binaries, 2017-10-25) we accidentally left out cmake-gui.
Diffstat (limited to 'Source/QtDialog')
-rw-r--r-- | Source/QtDialog/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/QtDialog/CMakeLists.txt b/Source/QtDialog/CMakeLists.txt index 06d13ba..330b747 100644 --- a/Source/QtDialog/CMakeLists.txt +++ b/Source/QtDialog/CMakeLists.txt @@ -166,6 +166,10 @@ 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}) +if(WIN32) + target_sources(cmake-gui PRIVATE $<TARGET_OBJECTS:CMakeVersion>) +endif() + # cmake-gui has not been updated for `include-what-you-use`. # Block the tool until this is done. set_target_properties(cmake-gui PROPERTIES |