Fix sqlite storage when building with CMake.

This commit is contained in:
Ghislain MARY 2016-05-20 16:29:53 +02:00
parent 6649418220
commit cdca50a17e

View file

@ -118,7 +118,7 @@ if(ENABLE_TUNNEL)
set(ENABLE_TUNNEL OFF CACHE BOOL "Enable tunnel support." FORCE)
endif()
endif()
if(SQLITE_STORAGE_ENABLED)
if(ENABLE_SQLITE_STORAGE)
find_package(Sqlite3 REQUIRED)
endif()
if(ENABLE_NOTIFY)
@ -204,7 +204,7 @@ if(ZLIB_FOUND)
endif()
if(SQLITE3_FOUND)
include_directories(${SQLITE3_INCLUDE_DIRS})
if(SQLITE_STORAGE_ENABLED)
if(ENABLE_SQLITE_STORAGE)
add_definitions("-DSQLITE_STORAGE_ENABLED")
endif()
endif()