Commit a17dfa95 authored by Ghislain MARY's avatar Ghislain MARY

Allow inclusion of tunnel CMake project in a global CMake project.

parent 4fd951be
...@@ -89,7 +89,11 @@ if(ENABLE_TLS) ...@@ -89,7 +89,11 @@ if(ENABLE_TLS)
endif() endif()
endif() endif()
if(ENABLE_TUNNEL) 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(TUNNEL_FOUND) if(TUNNEL_FOUND)
set(HAVE_TUNNEL 1) set(HAVE_TUNNEL 1)
else() else()
......
...@@ -33,7 +33,11 @@ if(NOT LINPHONE_BUILDER_GROUP_EXTERNAL_SOURCE_PATH_BUILDERS) ...@@ -33,7 +33,11 @@ if(NOT LINPHONE_BUILDER_GROUP_EXTERNAL_SOURCE_PATH_BUILDERS)
endif() endif()
if(@ENABLE_TUNNEL@) 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()
endif() endif()
get_filename_component(BELLESIP_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) get_filename_component(BELLESIP_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
......
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