diff --git a/sqlite3.patch b/sqlite3.patch index 8fcc42e..68e7c7d 100644 --- a/sqlite3.patch +++ b/sqlite3.patch @@ -75,13 +75,17 @@ Index: src/helpviewer/CMakeLists.txt SET (HELP_UIS qgshelpviewerbase.ui) SET (HELP_MOC_HDRS -@@ -34,13 +39,17 @@ +@@ -34,13 +39,21 @@ INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/../core ${CMAKE_CURRENT_BINARY_DIR} - ${SQLITE3_INCLUDE_DIR} ) ++IF(WITH_INTERNAL_SQLITE3) ++ INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../core/sqlite3) ++ENDIF(WITH_INTERNAL_SQLITE3) ++ + TARGET_LINK_LIBRARIES(qgis_help - ${SQLITE3_LIBRARY}