Skip to content
Snippets Groups Projects
Commit f3f9961c authored by Andre Sailer's avatar Andre Sailer Committed by Marko Petric
Browse files

Cmake: generate root map on apple: set DYLD_LIBRARY_PATH environment

parent 2b820833
No related branches found
No related tags found
No related merge requests found
......@@ -76,10 +76,9 @@ endfunction()
#---------------------------------------------------------------------------------------------------
function(dd4hep_generate_rootmap library)
if(APPLE)
dd4hep_generate_rootmap_apple( ${library} )
else()
dd4hep_generate_rootmap_notapple( ${library} )
SET(ENV{DYLD_LIBRARY_PATH} ${LIBRARY_OUTPUT_PATH}:$ENV{DYLD_LIBRARY_PATH}:$ENV{DD4HEP_LIBRARY_PATH} )
endif()
dd4hep_generate_rootmap_notapple(${library} )
endfunction()
#---------------------------------------------------------------------------------------------------
function(dd4hep_generate_rootmap_notapple library)
......@@ -103,10 +102,3 @@ function(dd4hep_generate_rootmap_notapple library)
DESTINATION ${install_destination}
)
endfunction()
#
#
#---------------------------------------------------------------------------------------------------
function(dd4hep_generate_rootmap_apple library)
# for now do the same for apple that is done for the rest
dd4hep_generate_rootmap_notapple( ${library} )
endfunction()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment