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:
pandaemonium 2007-09-27 20:34:10 +00:00
parent feed395699
commit 03b47cc239

View file

@ -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)