Commit f78f4b57 authored by Clinton Stimpson's avatar Clinton Stimpson
Browse files

COMP: Find Qt Assistant and Designer includes with Mac binary install

parent 69ce0986
......@@ -16,6 +16,20 @@ IF(APPLE AND QT4_FOUND AND QT_QTCORE_FOUND AND NOT QT_QTUITOOLS_FOUND)
_QT4_ADJUST_LIB_VARS(QTUITOOLS)
ENDIF(APPLE AND QT4_FOUND AND QT_QTCORE_FOUND AND NOT QT_QTUITOOLS_FOUND)
# help CMake fine QtAssistant on Mac (binary install)
IF(Q_WS_MAC AND QT4_FOUND AND NOT QT_QTASSISTANT_INCLUDE_DIR)
FIND_PATH(QT_QTASSISTANT_INCLUDE_DIR QtAssistant
PATHS ${QT_LIBRARY_DIR}/QtAssistant.framework/Headers
NO_DEFAULT_PATH)
ENDIF(Q_WS_MAC AND QT4_FOUND AND NOT QT_QTASSISTANT_INCLUDE_DIR)
# help CMake fine QtDesigner on Mac (binary install)
IF(Q_WS_MAC AND QT4_FOUND AND NOT QT_QTDESIGNER_INCLUDE_DIR)
FIND_PATH(QT_QTDESIGNER_INCLUDE_DIR QDesignerComponents
PATHS ${QT_LIBRARY_DIR}/QtDesigner.framework/Headers
NO_DEFAULT_PATH)
ENDIF(Q_WS_MAC AND QT4_FOUND AND NOT QT_QTDESIGNER_INCLUDE_DIR)
# help CMake find debug QtUtiTools on Windows
IF(WIN32 AND QT_QTUITOOLS_FOUND)
IF(NOT QT_QTUITOOLS_LIBRARY_DEBUG MATCHES "QtUiToolsd")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment