File tree Expand file tree Collapse file tree 3 files changed +2
-2
lines changed
Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ list(APPEND headers
5757add_library (${target} SHARED ${sources} ${no_dict_sources} ${headers} ${no_dict_headers} )
5858add_library (FairRoot::${target} ALIAS ${target} )
5959set_target_properties (${target} PROPERTIES ${PROJECT_LIBRARY_PROPERTIES} )
60+ set_property (TARGET ${target} PROPERTY POSITION_INDEPENDENT_CODE ON )
6061
6162target_include_directories (${target} PUBLIC
6263 $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} >
@@ -93,7 +94,6 @@ target_link_libraries(${target} PUBLIC
9394 Physics
9495 Geom
9596 Hist
96- EGPythia6
9797 ${VMCLIB}
9898)
9999
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ target_link_libraries(${target} PUBLIC
3737 FairRoot::MCConfigurator # FairYamlVMCConfig
3838 FairRoot::ExMCStack # FairStack
3939
40- EGPythia6
4140 ${VMCLIB} # TVirtualMC
4241)
4342
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ target_link_libraries(${target} PUBLIC
4040 yaml-cpp
4141
4242 Core
43+ EGPythia6
4344 ${VMCLIB}
4445)
4546
You can’t perform that action at this time.
0 commit comments