Skip to content

Commit

Permalink
Merge pull request #129 from vvolkl/compilation-fixes2
Browse files Browse the repository at this point in the history
cmake: remove LINKDD4HEP option
  • Loading branch information
clementhelsens authored Mar 30, 2022
2 parents abc3091 + 94faf75 commit df65dc1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions analyzers/dataframe/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,8 @@ target_link_libraries(FCCAnalyses
${CPU-KERNELS} ${LIBDL})


option(LINKDD4HEP "Switch ON if you plan to use DD4hep geometry information" OFF)
if(LINKDD4HEP)
find_package(DD4hep)
target_link_libraries(FCCAnalyses DD4hep::DDCore)
endif()
find_package(DD4hep)
target_link_libraries(FCCAnalyses DD4hep::DDCore)


set_target_properties(FCCAnalyses PROPERTIES
Expand Down

0 comments on commit df65dc1

Please sign in to comment.