Skip to content
Snippets Groups Projects
Commit af3ceb83 authored by Andre Sailer's avatar Andre Sailer
Browse files

ThisDD4hep: add library path for boost

parent 0f9467d1
No related branches found
No related tags found
No related merge requests found
......@@ -98,6 +98,8 @@ SET_TARGET_PROPERTIES(Boost::boost
PROPERTIES
INTERFACE_COMPILE_DEFINITIONS BOOST_SPIRIT_USE_PHOENIX_V3
)
GET_TARGET_PROPERTY(BOOST_FILESYSTEM_LOC Boost::filesystem IMPORTED_LOCATION)
GET_FILENAME_COMPONENT(BOOST_DIR ${BOOST_FILESYSTEM_LOC} DIRECTORY)
# Configure Geant4
if(DD4HEP_USE_GEANT4)
......
......@@ -105,6 +105,7 @@ if [ ${XERCESCINSTALL} ]; then
#dd4hep_add_path PATH ${XERCESCINSTALL}/bin;
dd4hep_add_library_path ${XERCESCINSTALL}/lib;
fi;
dd4hep_add_library_path @BOOST_DIR@
#
#----PATH---------------------------------------------------------------------
dd4hep_add_path PATH ${THIS}/bin;
......
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