add simple and stupid local SQLite3 detection (cause there doesn't seem to be a win32 sqlite3 installer that sets some magic registry keys)
This commit is contained in:
parent
feed395699
commit
03b47cc239
1 changed files with 3 additions and 1 deletions
|
@ -15,12 +15,14 @@ FIND_PATH(SQLITE3_INCLUDE_DIR sqlite3.h
|
|||
/usr/local/include
|
||||
/usr/include/sqlite3
|
||||
/usr/include
|
||||
${CMAKE_SOURCE_DIR}/sqlite3
|
||||
)
|
||||
|
||||
SET(SQLITE3_NAMES sqlite3)
|
||||
FIND_LIBRARY(SQLITE3_LIBRARY
|
||||
NAMES ${SQLITE3_NAMES}
|
||||
PATHS /usr/local/lib /usr/lib
|
||||
PATHS /usr/local/lib /usr/lib
|
||||
${CMAKE_SOURCE_DIR}/sqlite3
|
||||
)
|
||||
|
||||
IF (SQLITE3_INCLUDE_DIR AND SQLITE3_LIBRARY)
|
||||
|
|
Loading…
Reference in a new issue