Skip to content
Snippets Groups Projects
Commit 6f7d6218 authored by Pere Mato Vila's avatar Pere Mato Vila
Browse files

[CMake] Added namespace ROOT:: on exported targets in binary tree.

parent 71260181
Branches
Tags
No related merge requests found
...@@ -612,7 +612,7 @@ set(ROOT_BINARY_DIR ${CMAKE_BINARY_DIR}/bin) ...@@ -612,7 +612,7 @@ set(ROOT_BINARY_DIR ${CMAKE_BINARY_DIR}/bin)
set(ROOT_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules") set(ROOT_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules")
get_property(exported_targets GLOBAL PROPERTY ROOT_EXPORTED_TARGETS) get_property(exported_targets GLOBAL PROPERTY ROOT_EXPORTED_TARGETS)
export(TARGETS ${exported_targets} FILE ${PROJECT_BINARY_DIR}/ROOTConfig-targets.cmake) export(TARGETS ${exported_targets} NAMESPACE ROOT:: FILE ${PROJECT_BINARY_DIR}/ROOTConfig-targets.cmake)
configure_file(${CMAKE_SOURCE_DIR}/cmake/scripts/ROOTConfig.cmake.in configure_file(${CMAKE_SOURCE_DIR}/cmake/scripts/ROOTConfig.cmake.in
${CMAKE_BINARY_DIR}/ROOTConfig.cmake @ONLY NEWLINE_STYLE UNIX) ${CMAKE_BINARY_DIR}/ROOTConfig.cmake @ONLY NEWLINE_STYLE UNIX)
configure_file(${CMAKE_SOURCE_DIR}/cmake/scripts/RootUseFile.cmake.in configure_file(${CMAKE_SOURCE_DIR}/cmake/scripts/RootUseFile.cmake.in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment