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
70f0821c
Commit
70f0821c
authored
5 years ago
by
Ben Couturier
Committed by
Marko Petric
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
MakeGaudiMap: add lib folder parallel to listcomponents to LD_LIBRARY_PATH
parent
343b0f88
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/MakeGaudiMap.cmake
+2
-1
2 additions, 1 deletion
cmake/MakeGaudiMap.cmake
with
2 additions
and
1 deletion
cmake/MakeGaudiMap.cmake
+
2
−
1
View file @
70f0821c
...
@@ -4,6 +4,7 @@ message(STATUS " *** Gaudi listcomponents: Generate map for ${libname} ..." )
...
@@ -4,6 +4,7 @@ message(STATUS " *** Gaudi listcomponents: Generate map for ${libname} ..." )
#
#
FIND_PROGRAM
(
Gaudi_listcomponents_CMD listcomponents PATHS
${
genmap_install_dir
}
/../bin
${
DD4hep_DIR
}
/bin
FIND_PROGRAM
(
Gaudi_listcomponents_CMD listcomponents PATHS
${
genmap_install_dir
}
/../bin
${
DD4hep_DIR
}
/bin
NO_DEFAULT_PATH NO_CMAKE_PATH
)
NO_DEFAULT_PATH NO_CMAKE_PATH
)
GET_FILENAME_COMPONENT
(
GAUDI_LISTCOMP_INSTALL
${
Gaudi_listcomponents_CMD
}
DIRECTORY
)
###MESSAGE( STATUS " *** MakeRootMap ${genmap_install_dir}/../bin $ENV{DD4hep_DIR}/bin ${DD4hep_DIR}" )
###MESSAGE( STATUS " *** MakeRootMap ${genmap_install_dir}/../bin $ENV{DD4hep_DIR}/bin ${DD4hep_DIR}" )
MESSAGE
(
STATUS
" *** MakeGaudiMap.cmake run command :
${
Gaudi_listcomponents_CMD
}
-o
${
rootmapfile
}
${
libname
}
MESSAGE
(
STATUS
" *** MakeGaudiMap.cmake run command :
${
Gaudi_listcomponents_CMD
}
-o
${
rootmapfile
}
${
libname
}
WORKING_DIRECTORY
${
genmap_install_dir
}
"
WORKING_DIRECTORY
${
genmap_install_dir
}
"
...
@@ -12,7 +13,7 @@ message(STATUS " *** Gaudi listcomponents: Generate map for ${libname} ..." )
...
@@ -12,7 +13,7 @@ message(STATUS " *** Gaudi listcomponents: Generate map for ${libname} ..." )
SET
(
ENV{DYLD_LIBRARY_PATH}
${
genmap_install_dir
}
:$ENV{DYLD_LIBRARY_PATH}:$ENV{DD4HEP_LIBRARY_PATH}
)
SET
(
ENV{DYLD_LIBRARY_PATH}
${
genmap_install_dir
}
:$ENV{DYLD_LIBRARY_PATH}:$ENV{DD4HEP_LIBRARY_PATH}
)
##EXECUTE_PROCESS( COMMAND echo DYLD_LIBRARY_PATH = $ENV{DYLD_LIBRARY_PATH} )
##EXECUTE_PROCESS( COMMAND echo DYLD_LIBRARY_PATH = $ENV{DYLD_LIBRARY_PATH} )
else
()
else
()
SET
(
ENV{LD_LIBRARY_PATH}
${
genmap_install_dir
}
:$ENV{LD_LIBRARY_PATH}
)
SET
(
ENV{LD_LIBRARY_PATH}
${
GAUDI_LISTCOMP_INSTALL
}
/../lib:
${
genmap_install_dir
}
:$ENV{LD_LIBRARY_PATH}
)
endif
()
endif
()
# EXECUTE_PROCESS( COMMAND echo LD_LIBRARY_PATH = $ENV{LD_LIBRARY_PATH} )
# EXECUTE_PROCESS( COMMAND echo LD_LIBRARY_PATH = $ENV{LD_LIBRARY_PATH} )
EXECUTE_PROCESS
(
COMMAND
EXECUTE_PROCESS
(
COMMAND
...
...
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