Mercurial > hg > orthanc
diff Resources/CMake/SQLiteConfiguration.cmake @ 1335:4bed63189508
enhanced header lookup
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 30 Mar 2015 15:40:38 +0200 |
parents | 7f0aa3c0f659 |
children | 0a67a502c90f |
line wrap: on
line diff
--- a/Resources/CMake/SQLiteConfiguration.cmake Mon Mar 30 15:28:19 2015 +0200 +++ b/Resources/CMake/SQLiteConfiguration.cmake Mon Mar 30 15:40:38 2015 +0200 @@ -28,7 +28,10 @@ message(FATAL_ERROR "Please install the libsqlite3-dev package") endif() - find_path(SQLITE_INCLUDE_DIR sqlite3.h) + find_path(SQLITE_INCLUDE_DIR sqlite3.h + /usr/include + /usr/local/include + ) message("SQLite include dir: ${SQLITE_INCLUDE_DIR}") # Autodetection of the version of SQLite