File tree Expand file tree Collapse file tree 4 files changed +3
-3
lines changed Expand file tree Collapse file tree 4 files changed +3
-3
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}
Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ FairYamlVMCConfig::FairYamlVMCConfig()
35
35
: FairGenericVMCConfig()
36
36
, fMCEngine(" " )
37
37
{
38
- UsePostInitConfig ();
39
38
}
40
39
41
40
void FairYamlVMCConfig::Setup (const char * mcEngine)
@@ -69,6 +68,7 @@ void FairYamlVMCConfig::SetupPostInit(const char* mcEngine)
69
68
if (!((strcmp (mcEngine, " TGeant4" ) == 0 ))) {
70
69
LOG (fatal) << " FairYamlVMCConfig::SetupPostInit() only valid for TGeant4." ;
71
70
}
71
+ LOG (info) << " Loading Geant4 PostInit Config." << endl;
72
72
73
73
TString work = getenv (" VMCWORKDIR" );
74
74
TString work_config = work + " /gconfig/" ;
You can’t perform that action at this time.
0 commit comments