mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-29 09:09:21 +00:00
Fix call logs sql storage for CMake builder
This commit is contained in:
parent
654990ac5c
commit
51df1ca124
1 changed files with 5 additions and 0 deletions
|
|
@ -54,6 +54,7 @@ option(ENABLE_VIDEO "Build with video support." YES)
|
|||
cmake_dependent_option(ENABLE_ASSISTANT "Turn on assistant compiling." YES "ENABLE_GTK_UI" NO)
|
||||
option(ENABLE_DEBUG_LOGS "Turn on or off debug level logs." NO)
|
||||
option(ENABLE_NLS "Build with internationalisation support" YES)
|
||||
option(ENABLE_CALL_LOGS_STORAGE "Turn on compilation of call logs storage." YES)
|
||||
|
||||
|
||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
||||
|
|
@ -140,6 +141,9 @@ if(ENABLE_NLS)
|
|||
find_package(Intl REQUIRED)
|
||||
include_directories(${INTL_INCLUDE_DIRS})
|
||||
endif()
|
||||
if(ENABLE_CALL_LOGS_STORAGE)
|
||||
find_package(Sqlite3 REQUIRED)
|
||||
endif()
|
||||
|
||||
if(UNIX AND NOT APPLE)
|
||||
include(CheckIncludeFiles)
|
||||
|
|
@ -162,6 +166,7 @@ endif()
|
|||
if(SQLITE3_FOUND)
|
||||
include_directories(${SQLITE3_INCLUDE_DIRS})
|
||||
add_definitions("-DMSG_STORAGE_ENABLED")
|
||||
add_definitions("-DCALL_LOGS_STORAGE_ENABLED")
|
||||
endif()
|
||||
if(ENABLE_TUNNEL)
|
||||
include_directories(${TUNNEL_INCLUDE_DIRS})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue