--- cmake/modules/FindQScintilla.cmake.org 2007-10-22 11:36:52.000000000 +0200 +++ cmake/modules/FindQScintilla.cmake 2007-10-22 11:37:02.000000000 +0200 @@ -14,11 +14,11 @@ INCLUDE(FindQt4) ENDIF(NOT QT4_FOUND) -SET(QSCINTILLA_FOUND "NO") +SET(QSCINTILLA_FOUND FALSE) IF(QT4_FOUND) FIND_PATH(QSCINTILLA_INCLUDE_DIR qsciglobal.h - "${QT_INCLUDE_DIR}/Qsci" + /usr/include/Qsci ) SET(QSCINTILLA_NAMES ${QSCINTILLA_NAMES} qscintilla2 libqscintilla2) @@ -27,10 +27,10 @@ PATHS ${QT_LIBRARY_DIR} ) - IF (QSCINTILLA_LIBRARY) + IF (QSCINTILLA_LIBRARY AND QSCINTILLA_INCLUDE_DIR) SET(QSCINTILLA_LIBRARIES ${QSCINTILLA_LIBRARY}) - SET(QSCINTILLA_FOUND "YES") + SET(QSCINTILLA_FOUND TRUE) IF (CYGWIN) IF(BUILD_SHARED_LIBS) @@ -40,7 +40,7 @@ ENDIF(BUILD_SHARED_LIBS) ENDIF (CYGWIN) - ENDIF (QSCINTILLA_LIBRARY) + ENDIF (QSCINTILLA_LIBRARY AND QSCINTILLA_INCLUDE_DIR) ENDIF(QT4_FOUND) IF (QSCINTILLA_FOUND)