Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[qt5] Fix QScintilla cmake file
  • Loading branch information
m-kuhn committed Nov 12, 2015
1 parent 81acd07 commit 1bb7aff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/FindQScintilla.cmake
Expand Up @@ -27,13 +27,14 @@ ELSE(EXISTS QSCINTILLA_VERSION_STR)
FIND_PATH(QSCINTILLA_INCLUDE_DIR
NAMES Qsci/qsciglobal.h
PATHS
${Qt5Core_INCLUDE_DIRS}
"${QT_INCLUDE_DIR}"
/usr/local/include
/usr/include
)

if(ENABLE_QT5)
set(QSCINTILLA_LIBRARY_NAMES qscintilla2-qt5 libqscintilla2-qt5 libqscintilla2-qt5.dylib)
set(QSCINTILLA_LIBRARY_NAMES qscintilla2-qt5 libqscintilla2-qt5 qt5scintilla2 libqscintilla2-qt5.dylib)
else(ENABLE_QT5)
set(QSCINTILLA_LIBRARY_NAMES qscintilla2 libqscintilla2 libqscintilla2.dylib)
endif(ENABLE_QT5)
Expand Down

0 comments on commit 1bb7aff

Please sign in to comment.