mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-26 23:58:17 +00:00
Allow inclusion of tunnel CMake project in a global CMake project.
This commit is contained in:
parent
b60e1d006f
commit
9388fd6d43
1 changed files with 5 additions and 1 deletions
|
|
@ -110,7 +110,11 @@ if(ENABLE_UNIT_TESTS)
|
|||
endif()
|
||||
endif()
|
||||
if(ENABLE_TUNNEL)
|
||||
find_package(Tunnel)
|
||||
if(LINPHONE_BUILDER_GROUP_EXTERNAL_SOURCE_PATH_BUILDERS)
|
||||
include("${EP_tunnel_CONFIG_DIR}/TunnelConfig.cmake")
|
||||
else()
|
||||
find_package(Tunnel)
|
||||
endif()
|
||||
if(NOT TUNNEL_FOUND)
|
||||
message(WARNING "Could not find the tunnel library!")
|
||||
set(ENABLE_TUNNEL OFF CACHE BOOL "Enable tunnel support." FORCE)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue