FindSql3.cmake: Add the input variable in the search path

Issue #6278
This commit is contained in:
Olivier Goffart 2018-06-04 11:44:09 +02:00 committed by Kevin Ottens
parent 0d21936e95
commit d8e761ab61
No known key found for this signature in database
GPG key ID: 074BBBCB8DECC9E2

View file

@ -26,6 +26,7 @@ find_path(SQLITE3_INCLUDE_DIR
sqlite3.h
PATHS
${_SQLITE3_INCLUDEDIR}
${SQLITE3_INCLUDE_DIRS}
)
find_library(SQLITE3_LIBRARY
@ -33,6 +34,7 @@ find_library(SQLITE3_LIBRARY
sqlite3 sqlite3-0
PATHS
${_SQLITE3_LIBDIR}
${SQLITE3_LIBRARIES}
)
set(SQLITE3_INCLUDE_DIRS