[cmake-commits] clinton committed CMakeLists.txt 1.1 1.2
    cmake-commits at cmake.org 
    cmake-commits at cmake.org
       
    Fri Nov  2 14:12:56 EDT 2007
    
    
  
Update of /cvsroot/CMake/CMake/Source/QtDialog
In directory public:/mounts/ram/cvs-serv21333
Modified Files:
	CMakeLists.txt 
Log Message:
COMP: Fix build on Windows.
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/QtDialog/CMakeLists.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- CMakeLists.txt	2 Nov 2007 15:50:17 -0000	1.1
+++ CMakeLists.txt	2 Nov 2007 18:12:54 -0000	1.2
@@ -3,15 +3,20 @@
 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 
    
    
More information about the Cmake-commits
mailing list