Skip to content
Permalink
Browse files

[qt5] Fix QScintilla cmake file

  • Loading branch information
m-kuhn committed Nov 12, 2015
1 parent 81acd07 commit 1bb7aff0678e32ab3652b88fd60312f1ba0ae8f4
Showing with 2 additions and 1 deletion.
  1. +2 −1 cmake/FindQScintilla.cmake
@@ -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)

0 comments on commit 1bb7aff

Please sign in to comment.
You can’t perform that action at this time.