[Cmake-commits] [cmake-commits] clinton committed UseQt4.cmake 1.17 1.18

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Jan 23 17:37:46 EST 2009


Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv17024

Modified Files:
	UseQt4.cmake 
Log Message:

ENH:  Should have a -F for framework includes on Mac.  Fixes ParaView build with Qt 4.5 on Mac.



Index: UseQt4.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/UseQt4.cmake,v
retrieving revision 1.17
retrieving revision 1.18
diff -C 2 -d -r1.17 -r1.18
*** UseQt4.cmake	5 Nov 2008 21:54:26 -0000	1.17
--- UseQt4.cmake	23 Jan 2009 22:37:44 -0000	1.18
***************
*** 12,15 ****
--- 12,18 ----
  
  INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR})
+ IF(Q_WS_MAC AND QT_USE_FRAMEWORKS)
+   ADD_DEFINITIONS(-F${QT_LIBRARY_DIR})
+ ENDIF(Q_WS_MAC AND QT_USE_FRAMEWORKS)
  
  SET(QT_LIBRARIES "")



More information about the Cmake-commits mailing list