mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
Don't fail if sqlite is not present.
This commit is contained in:
parent
1ef87c43ee
commit
7533e3341e
@ -22,7 +22,7 @@ if (NOT SQLITE3_FOUND)
|
||||
set(SQLITE3_INCLUDE_DIRS "${PROJECT_SOURCE_DIR}/sqlite3")
|
||||
set(SQLITE3_LDFLAGS sqlite3_static)
|
||||
else()
|
||||
message(FATAL_ERROR " no sqlite3 in source tree")
|
||||
message(STATUS " no sqlite3 in source tree")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
@ -1,4 +1,8 @@
|
||||
include (${CMAKE_MODULE_PATH}/sqlite3.cmake)
|
||||
if (NOT SQLITE3_FOUND)
|
||||
message(STATUS "sqlite3 not found, not building hsbench")
|
||||
return()
|
||||
endif()
|
||||
|
||||
if (NOT XCODE)
|
||||
include_directories(SYSTEM ${SQLITE3_INCLUDE_DIRS})
|
||||
|
Loading…
x
Reference in New Issue
Block a user