ENH: Should have a -F for framework includes on Mac. Fixes ParaView build with Qt 4.5 on Mac.
This commit is contained in:
parent
b2d52b07ad
commit
f1916357f2
|
@ -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)
|
SET_PROPERTY(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_MINSIZEREL QT_NO_DEBUG)
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR})
|
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 "")
|
SET(QT_LIBRARIES "")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue