-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
56 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# fairsoft lib path needed to be added for root dictionary detection: | ||
|
||
# add library path to LD_LIBRARY_PATH | ||
macro(ADD_TO_LD_LIBRARY_PATH path) | ||
message(STATUS "Adding ${path}") | ||
if(EXISTS ${path}/lib) | ||
list(APPEND LD_LIBRARY_PATH ${path}/lib) | ||
elseif(EXISTS ${SIMPATH}/lib64) | ||
list(APPEND LD_LIBRARY_PATH ${path}/lib64) | ||
else() | ||
message(FATAL_ERROR "Cannot resolve the library path from \"${path}\"") | ||
endif() | ||
endmacro() | ||
|
||
add_to_ld_library_path($ENV{SIMPATH}) | ||
add_to_ld_library_path($ENV{FAIRROOTPATH}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
add_executable(neulandSim neulandSim.cxx) | ||
target_link_libraries(neulandSim PRIVATE R3BNeulandSimulation ${Geant4_LIBRARIES} | ||
${Geant4VMC_LIBRARIES} ExTestDetector) | ||
${Geant4VMC_LIBRARIES}) | ||
|
||
add_executable(neulandAna neulandAna.cxx) | ||
target_link_libraries(neulandAna PRIVATE R3BNeulandDigitizing) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -293,6 +293,4 @@ add_library_with_dictionary( | |
${DIRS} | ||
DEPENDENCIES | ||
R3BData | ||
Ucesb | ||
PRIVATE_DEPENDENCIES | ||
MbsAPI) | ||
Ucesb) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,4 +53,4 @@ add_library_with_dictionary( | |
DEPENDENCIES | ||
R3BData | ||
Field | ||
TrkBase) | ||
FairRoot::TrackBase) |