Skip to content

Commit

Permalink
Add missing SQLITE3_INCLUDE_DIR in a few components
Browse files Browse the repository at this point in the history
Those components depend on sqlite3.h, but fails to add
explictly its paths, relying on it to be present in the other used
included paths, which may be not always the case in some setups.

This is a follow-up of 455a473 on
a clean build.
  • Loading branch information
rouault committed Mar 21, 2016
1 parent d161612 commit 9fcc246
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/CMakeLists.txt
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ INCLUDE_DIRECTORIES(SYSTEM
${QEXTSERIALPORT_INCLUDE_DIR} ${QEXTSERIALPORT_INCLUDE_DIR}
${QSCINTILLA_INCLUDE_DIR} ${QSCINTILLA_INCLUDE_DIR}
${QCA_INCLUDE_DIR} ${QCA_INCLUDE_DIR}
${SQLITE3_INCLUDE_DIR}
) )
INCLUDE_DIRECTORIES( INCLUDE_DIRECTORIES(
../src/core ../src/core
Expand Down
1 change: 1 addition & 0 deletions src/analysis/CMakeLists.txt
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ INCLUDE_DIRECTORIES(SYSTEM
${PROJ_INCLUDE_DIR} ${PROJ_INCLUDE_DIR}
${GEOS_INCLUDE_DIR} ${GEOS_INCLUDE_DIR}
${GDAL_INCLUDE_DIR} ${GDAL_INCLUDE_DIR}
${SQLITE3_INCLUDE_DIR}
) )


IF (NOT MSVC) IF (NOT MSVC)
Expand Down
1 change: 1 addition & 0 deletions tests/src/core/CMakeLists.txt
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ INCLUDE_DIRECTORIES(SYSTEM
${PROJ_INCLUDE_DIR} ${PROJ_INCLUDE_DIR}
${GEOS_INCLUDE_DIR} ${GEOS_INCLUDE_DIR}
${QCA_INCLUDE_DIR} ${QCA_INCLUDE_DIR}
${SQLITE3_INCLUDE_DIR}
) )


############################################################# #############################################################
Expand Down

0 comments on commit 9fcc246

Please sign in to comment.