Mercurial > hg > orthanc
diff Resources/CMake/SQLiteConfiguration.cmake @ 3839:5bba4d249422 transcoding
integration mainline->transcoding
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 15 Apr 2020 22:03:21 +0200 |
parents | a3e38994d95a |
children | f9863630ec7f |
line wrap: on
line diff
--- a/Resources/CMake/SQLiteConfiguration.cmake Fri Apr 10 16:36:02 2020 +0200 +++ b/Resources/CMake/SQLiteConfiguration.cmake Wed Apr 15 22:03:21 2020 +0200 @@ -41,12 +41,14 @@ source_group(ThirdParty\\SQLite REGULAR_EXPRESSION ${SQLITE_SOURCES_DIR}/.*) else() - CHECK_INCLUDE_FILE_CXX(sqlite3.h HAVE_SQLITE_H) + CHECK_INCLUDE_FILE(sqlite3.h HAVE_SQLITE_H) if (NOT HAVE_SQLITE_H) message(FATAL_ERROR "Please install the libsqlite3-dev package") endif() - find_path(SQLITE_INCLUDE_DIR sqlite3.h + find_path(SQLITE_INCLUDE_DIR + NAMES sqlite3.h + PATHS /usr/include /usr/local/include )