comparison 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
comparison
equal deleted inserted replaced
3829:4fde7933e504 3839:5bba4d249422
39 ) 39 )
40 40
41 source_group(ThirdParty\\SQLite REGULAR_EXPRESSION ${SQLITE_SOURCES_DIR}/.*) 41 source_group(ThirdParty\\SQLite REGULAR_EXPRESSION ${SQLITE_SOURCES_DIR}/.*)
42 42
43 else() 43 else()
44 CHECK_INCLUDE_FILE_CXX(sqlite3.h HAVE_SQLITE_H) 44 CHECK_INCLUDE_FILE(sqlite3.h HAVE_SQLITE_H)
45 if (NOT HAVE_SQLITE_H) 45 if (NOT HAVE_SQLITE_H)
46 message(FATAL_ERROR "Please install the libsqlite3-dev package") 46 message(FATAL_ERROR "Please install the libsqlite3-dev package")
47 endif() 47 endif()
48 48
49 find_path(SQLITE_INCLUDE_DIR sqlite3.h 49 find_path(SQLITE_INCLUDE_DIR
50 NAMES sqlite3.h
51 PATHS
50 /usr/include 52 /usr/include
51 /usr/local/include 53 /usr/local/include
52 ) 54 )
53 message("SQLite include dir: ${SQLITE_INCLUDE_DIR}") 55 message("SQLite include dir: ${SQLITE_INCLUDE_DIR}")
54 56