summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/QtDialogCPack.cmake.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-02-09 14:53:52 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-02-09 14:53:52 (GMT)
commitf6014938cbb4a914ed5b549261a0c06215593c30 (patch)
treeddcf95907670ac1fe393f19f05a06218458a0f03 /Source/QtDialog/QtDialogCPack.cmake.in
parent445f47473c205d9d310a6a51c14fa7ac98c2cad0 (diff)
downloadCMake-f6014938cbb4a914ed5b549261a0c06215593c30.zip
CMake-f6014938cbb4a914ed5b549261a0c06215593c30.tar.gz
CMake-f6014938cbb4a914ed5b549261a0c06215593c30.tar.bz2
ENH: make it so cmake-gui only installs if qt is static on windows
Diffstat (limited to 'Source/QtDialog/QtDialogCPack.cmake.in')
-rw-r--r--Source/QtDialog/QtDialogCPack.cmake.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/QtDialog/QtDialogCPack.cmake.in b/Source/QtDialog/QtDialogCPack.cmake.in
new file mode 100644
index 0000000..24dda01
--- /dev/null
+++ b/Source/QtDialog/QtDialogCPack.cmake.in
@@ -0,0 +1,4 @@
+SET(CMAKE_PACKAGE_QTGUI @CMAKE_PACKAGE_QTGUI@)
+IF(CMAKE_PACKAGE_QTGUI)
+ SET(CPACK_PACKAGE_EXECUTABLES ${CPACK_PACKAGE_EXECUTABLES} "cmake-gui" "cmake-gui(beta)")
+ENDIF(CMAKE_PACKAGE_QTGUI)