mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Updated CMakefile for vCard & belcard
This commit is contained in:
parent
06b099d137
commit
7f6c61f359
1 changed files with 8 additions and 1 deletions
|
|
@ -172,7 +172,11 @@ if(ENABLE_LIME)
|
|||
set(HAVE_LIME 1)
|
||||
endif()
|
||||
if (ENABLE_VCARD)
|
||||
find_package(Belcard REQUIRED)
|
||||
find_package(Belcard)
|
||||
if(NOT BELCARD_FOUND)
|
||||
message(WARNING "Could not find the belcard library!")
|
||||
set(ENABLE_VCARD OFF CACHE BOOL "Enable vcard support." FORCE)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(UNIX AND NOT APPLE)
|
||||
|
|
@ -193,6 +197,9 @@ include_directories(
|
|||
if(ENABLE_TUNNEL)
|
||||
include_directories(${TUNNEL_INCLUDE_DIRS})
|
||||
endif()
|
||||
if (ENABLE_VCARD)
|
||||
include_directories(${BELCARD_INCLUDE_DIRS})
|
||||
endif()
|
||||
|
||||
include_directories(${XML2_INCLUDE_DIRS})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue