Skip to content

Commit

Permalink
build: Explicitly find python when DD4hep is ON (#2314)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
paulgessinger and kodiakhq[bot] committed Jul 26, 2023
1 parent 21cb496 commit 5252d07
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,8 @@ if(ACTS_BUILD_PLUGIN_CUDA)
enable_cuda()
endif()
if(ACTS_BUILD_PLUGIN_DD4HEP)
# Explicitly find python so we can more easily override the version
find_package(Python 3.8 REQUIRED COMPONENTS Interpreter)
find_package(DD4hep ${_acts_dd4hep_version} REQUIRED CONFIG COMPONENTS DDCore DDDetectors)
endif()
if(ACTS_BUILD_PLUGIN_JSON)
Expand Down

0 comments on commit 5252d07

Please sign in to comment.