Skip to content
Snippets Groups Projects
Commit d3f91125 authored by Andre Sailer's avatar Andre Sailer
Browse files

DDG4: look for python interpreter before the libraries

parent 9779a8bd
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,9 @@ new_dd4hep_add_plugin(DDG4Plugins
)
#--------------------------- Plugin library for the simulation framework ---------
FIND_PACKAGE(PythonLibs 2)
find_package(PythonInterp 2 REQUIRED)
find_package(PythonLibs 2)
if(PYTHONLIBS_FOUND)
MESSAGE(STATUS "Python found, creating DDG4Python Dictionary")
new_dd4hep_add_dictionary(G__DDG4Python
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment