Don't fail if sqlite is not present.

This commit is contained in:
Matthew Barr
2017-03-23 12:19:35 +11:00
parent 1ef87c43ee
commit 7533e3341e
2 changed files with 5 additions and 1 deletions

View File

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