Commit cdca50a1 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix sqlite storage when building with CMake.

parent 66494182
......@@ -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()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment