diff --git a/CMakeLists.txt b/CMakeLists.txt index 1827a9398e5344675980c60608e17ec1a9cffc32..a48748fb1734625bc9a652d15083a94f5b0b8814 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,6 +98,9 @@ dd4hep_configure_output( OUTPUT "${PROJECT_BINARY_DIR}" INSTALL "${CMAKE_INSTALL # Resolve dependencies # ######################## +# Configure Python +find_package(Python COMPONENTS Development) + # Configure ROOT find_package (ROOT 6.08 REQUIRED) DD4HEP_SETUP_ROOT_TARGETS() diff --git a/DDG4/CMakeLists.txt b/DDG4/CMakeLists.txt index d7a97e4154db4f7a33039a3509e7abca2dc639d0..68b710442aa30c5c40ae4fccde81931aa6dff91b 100644 --- a/DDG4/CMakeLists.txt +++ b/DDG4/CMakeLists.txt @@ -50,7 +50,6 @@ dd4hep_add_plugin(DDG4Plugins #--------------------------- Plugin library for the simulation framework --------- -find_package(Python COMPONENTS Development) if(TARGET Python::Python) dd4hep_print("|++> Python found, creating DDG4Python Dictionary") dd4hep_add_dictionary(G__DDG4Python