Commit 3d76a0fc authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Merge branch 'fix/propagate-httplib-dependency-in-cmake' into 'bc'

Include httplib targets in BelleSIPTargets.cmake.

See merge request !1
parents 2986c8fb a2ed0d11
1 merge request!1Include httplib targets in BelleSIPTargets.cmake.
Showing with 8 additions and 8 deletions
......@@ -270,10 +270,10 @@ else()
endif()
if(HTTPLIB_INSTALL)
# Creates the export httplibTargets.cmake
# Includes the export into BelleSIPTargets.cmake
# This is strictly what holds compilation requirements
# and linkage information (doesn't find deps though).
install(TARGETS ${PROJECT_NAME} EXPORT httplibTargets)
install(TARGETS ${PROJECT_NAME} EXPORT BelleSIPTargets)
install(FILES "${_httplib_build_includedir}/httplib.h" TYPE INCLUDE)
......@@ -287,12 +287,12 @@ if(HTTPLIB_INSTALL)
)
# NOTE: This path changes depending on if it's on Windows or Linux
install(EXPORT httplibTargets
# Puts the targets into the httplib namespace
# So this makes httplib::httplib linkable after doing find_package(httplib)
NAMESPACE ${PROJECT_NAME}::
DESTINATION ${_TARGET_INSTALL_CMAKEDIR}
)
# install(EXPORT httplibTargets
# # Puts the targets into the httplib namespace
# # So this makes httplib::httplib linkable after doing find_package(httplib)
# NAMESPACE ${PROJECT_NAME}::
# DESTINATION ${_TARGET_INSTALL_CMAKEDIR}
# )
endif()
if(HTTPLIB_TEST)
......
Supports Markdown
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