summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2007-11-02 18:12:54 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2007-11-02 18:12:54 (GMT)
commit5927a261d090cbc15e3d26d24dde5fb7e03e1402 (patch)
tree0ad4993977a34240e7329b9ff6561e1a0737c538 /Source/QtDialog
parent8079907714a5c502570a2fd68e410a57b664d738 (diff)
downloadCMake-5927a261d090cbc15e3d26d24dde5fb7e03e1402.zip
CMake-5927a261d090cbc15e3d26d24dde5fb7e03e1402.tar.gz
CMake-5927a261d090cbc15e3d26d24dde5fb7e03e1402.tar.bz2
COMP: Fix build on Windows.
Diffstat (limited to 'Source/QtDialog')
-rw-r--r--Source/QtDialog/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/QtDialog/CMakeLists.txt b/Source/QtDialog/CMakeLists.txt
index b6cd7b1..540887c 100644
--- a/Source/QtDialog/CMakeLists.txt
+++ b/Source/QtDialog/CMakeLists.txt
@@ -3,15 +3,20 @@ SET(QT_MIN_VERSION "4.3.0")
FIND_PACKAGE(Qt4 REQUIRED)
IF(NOT QT4_FOUND)
- MESSAGE(SEND_ERROR "Failed to find Qt4.")
+ MESSAGE(SEND_ERROR "Failed to find Qt 4.3 or greater.")
ELSE(NOT QT4_FOUND)
+
+ SET(QT_USE_QTMAIN TRUE)
INCLUDE(${QT_USE_FILE})
SET(SRCS
CMakeSetup.cxx
CMakeSetupDialog.cxx
+ CMakeSetupDialog.h
QCMake.cxx
+ QCMake.h
QCMakeCacheView.cxx
+ QCMakeCacheView.h
)
QT4_WRAP_UI(UI_SRCS