Skip to content

Commit 09e150a

Browse files
committed
test
1 parent 63bcf2f commit 09e150a

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

examples/MQ/pixelDetector/src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ list(APPEND headers
5757
add_library(${target} SHARED ${sources} ${no_dict_sources} ${headers} ${no_dict_headers})
5858
add_library(FairRoot::${target} ALIAS ${target})
5959
set_target_properties(${target} PROPERTIES ${PROJECT_LIBRARY_PROPERTIES})
60+
set_property(TARGET ${target} PROPERTY POSITION_INDEPENDENT_CODE ON)
6061

6162
target_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

examples/common/gconfig/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

fairtools/MCConfigurator/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ target_link_libraries(${target} PUBLIC
4141

4242
Core
4343
${VMCLIB}
44+
EGPythia6
4445
)
4546

4647
fairroot_target_root_dictionary(${target}

0 commit comments

Comments
 (0)