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
57
57
add_library (${target} SHARED ${sources} ${no_dict_sources} ${headers} ${no_dict_headers} )
58
58
add_library (FairRoot::${target} ALIAS ${target} )
59
59
set_target_properties (${target} PROPERTIES ${PROJECT_LIBRARY_PROPERTIES} )
60
+ set_property (TARGET ${target} PROPERTY POSITION_INDEPENDENT_CODE ON )
60
61
61
62
target_include_directories (${target} PUBLIC
62
63
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} >
@@ -93,7 +94,6 @@ target_link_libraries(${target} PUBLIC
93
94
Physics
94
95
Geom
95
96
Hist
96
- EGPythia6
97
97
${VMCLIB}
98
98
)
99
99
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ target_link_libraries(${target} PUBLIC
37
37
FairRoot::MCConfigurator # FairYamlVMCConfig
38
38
FairRoot::ExMCStack # FairStack
39
39
40
- EGPythia6
41
40
${VMCLIB} # TVirtualMC
42
41
)
43
42
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ target_link_libraries(${target} PUBLIC
41
41
42
42
Core
43
43
${VMCLIB}
44
+ EGPythia6
44
45
)
45
46
46
47
fairroot_target_root_dictionary(${target}
You can’t perform that action at this time.
0 commit comments