From f1916357f2c6d7f4b78c3ef9db8ab01f1cc537b0 Mon Sep 17 00:00:00 2001 From: Clinton Stimpson Date: Fri, 23 Jan 2009 17:37:44 -0500 Subject: ENH: Should have a -F for framework includes on Mac. Fixes ParaView build with Qt 4.5 on Mac. --- Modules/UseQt4.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Modules/UseQt4.cmake b/Modules/UseQt4.cmake index 9a8ce6c..246b536 100644 --- a/Modules/UseQt4.cmake +++ b/Modules/UseQt4.cmake @@ -11,6 +11,9 @@ SET_PROPERTY(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_RELWITHDEBINFO QT_NO_ SET_PROPERTY(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_MINSIZEREL QT_NO_DEBUG) 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 "") -- cgit v0.12