Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
f3f9961c
Commit
f3f9961c
authored
5 years ago
by
Andre Sailer
Committed by
Marko Petric
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake/DD4hep.cmake
+2
-10
2 additions, 10 deletions
cmake/DD4hep.cmake
with
2 additions
and
10 deletions
cmake/DD4hep.cmake
+
2
−
10
View file @
f3f9961c
...
...
@@ -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
()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment