diff options
author | Brad King <brad.king@kitware.com> | 2014-03-20 13:22:10 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-03-20 13:22:10 (GMT) |
commit | 7bf8a549f9074b06d018419f1660573a412f695e (patch) | |
tree | 6967c274e7a67aedae8577a7c3fe06beef8ccb5f /Source/QtDialog | |
parent | f039a3a78e58f5ab2724704294513d7c25f0510c (diff) | |
parent | 5f210672daff7841bd83023e0d72dfb6b2dacc01 (diff) | |
download | CMake-7bf8a549f9074b06d018419f1660573a412f695e.zip CMake-7bf8a549f9074b06d018419f1660573a412f695e.tar.gz CMake-7bf8a549f9074b06d018419f1660573a412f695e.tar.bz2 |
Merge topic 'fix-Qt5-non-Windows'
5f210672 QtDialog: Fix Qt 5 build on non-Windows.
Diffstat (limited to 'Source/QtDialog')
-rw-r--r-- | Source/QtDialog/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/QtDialog/CMakeLists.txt b/Source/QtDialog/CMakeLists.txt index 07a50b9..7885a0c 100644 --- a/Source/QtDialog/CMakeLists.txt +++ b/Source/QtDialog/CMakeLists.txt @@ -28,7 +28,7 @@ if (Qt5Widgets_FOUND) qt5_add_resources(${ARGN}) endmacro() set(CMake_QT_LIBRARIES ${Qt5Widgets_LIBRARIES}) - set(QT_QTMAIN_LIBRARY Qt5::WinMain) + set(QT_QTMAIN_LIBRARY ${Qt5Core_QTMAIN_LIBRARIES}) # Remove this when the minimum version of Qt is 4.6. add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0) |