Commit 9388fd6d authored by Ghislain MARY's avatar Ghislain MARY

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

parent b60e1d00
......@@ -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)
......
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