Commit 06d0bfe5 authored by Ghislain MARY's avatar Ghislain MARY

Do not add BelledonneCommunications namespace for CMake targets export.

parent 9d8ed7ca
...@@ -31,5 +31,5 @@ include("${CMAKE_CURRENT_LIST_DIR}/Bcg729Targets.cmake") ...@@ -31,5 +31,5 @@ include("${CMAKE_CURRENT_LIST_DIR}/Bcg729Targets.cmake")
get_filename_component(BCG729_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) get_filename_component(BCG729_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
set(BCG729_INCLUDE_DIRS "${BCG729_CMAKE_DIR}/../../../include") set(BCG729_INCLUDE_DIRS "${BCG729_CMAKE_DIR}/../../../include")
set(BCG729_LIBRARIES BelledonneCommunications::bcg729) set(BCG729_LIBRARIES bcg729)
set(BCG729_FOUND 1) set(BCG729_FOUND 1)
...@@ -90,7 +90,6 @@ write_basic_package_version_file( ...@@ -90,7 +90,6 @@ write_basic_package_version_file(
) )
export(EXPORT Bcg729Targets export(EXPORT Bcg729Targets
FILE "${CMAKE_CURRENT_BINARY_DIR}/Bcg729Targets.cmake" FILE "${CMAKE_CURRENT_BINARY_DIR}/Bcg729Targets.cmake"
NAMESPACE BelledonneCommunications::
) )
configure_file(Bcg729Config.cmake configure_file(Bcg729Config.cmake
"${CMAKE_CURRENT_BINARY_DIR}/Bcg729Config.cmake" "${CMAKE_CURRENT_BINARY_DIR}/Bcg729Config.cmake"
...@@ -100,7 +99,6 @@ configure_file(Bcg729Config.cmake ...@@ -100,7 +99,6 @@ configure_file(Bcg729Config.cmake
set(ConfigPackageLocation lib/cmake/Bcg729) set(ConfigPackageLocation lib/cmake/Bcg729)
install(EXPORT Bcg729Targets install(EXPORT Bcg729Targets
FILE Bcg729Targets.cmake FILE Bcg729Targets.cmake
NAMESPACE BelledonneCommunications::
DESTINATION ${ConfigPackageLocation} DESTINATION ${ConfigPackageLocation}
) )
install(FILES install(FILES
......
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