Skip to content
Snippets Groups Projects
Commit 45a22236 authored by Campbell, Stuart's avatar Campbell, Stuart
Browse files

Now finds include files on a Mac. refs #4268

Basically split out the include subdir into a search path suffix
so that it doesn't get misinterpreted as a Framework.
parent 8089881e
No related merge requests found
...@@ -17,8 +17,10 @@ ENDIF(NOT QT4_FOUND) ...@@ -17,8 +17,10 @@ ENDIF(NOT QT4_FOUND)
SET(QSCINTILLA_FOUND "NO") SET(QSCINTILLA_FOUND "NO")
IF(QT4_FOUND) IF(QT4_FOUND)
FIND_PATH(QSCINTILLA_INCLUDE_DIR Qsci/qsciglobal.h FIND_PATH(QSCINTILLA_INCLUDE_DIR
"${QT_INCLUDE_DIR}" NAMES qsciglobal.h
PATHS ${QT_INCLUDE_DIR}
PATH_SUFFIXES "Qsci"
) )
SET(QSCINTILLA_NAMES ${QSCINTILLA_NAMES} qscintilla2 libqscintilla2) SET(QSCINTILLA_NAMES ${QSCINTILLA_NAMES} qscintilla2 libqscintilla2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment