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

Fix DDG4Python compilation

parent 3f19ea21
No related branches found
No related tags found
No related merge requests found
......@@ -85,13 +85,14 @@ if(PYTHONLIBS_FOUND)
target_compile_options(DDPython PUBLIC -Wno-register)
ENDIF()
new_dd4hep_add_plugin(DDG4Python
SOURCES src/python/*.cpp G__DDG4Python.cxx
SOURCES src/python/*.cpp
GENERATED G__DDG4Python.cxx
LINK_LIBRARIES DDG4 DDPython
)
#---Helper to overcome deficiency of the python executable concerning multi-threading
add_executable(pyddg4 pyddg4.cpp)
target_link_libraries(pyddg4 PUBLIC DDPython ROOT::Core ROOT::PyROOT)
INSTALL(TARGETS DDPython pyddg4 EXPORT DD4hep
INSTALL(TARGETS DDPython pyddg4 DDG4Python EXPORT DD4hep
LIBRARY DESTINATION lib
RUNTIME DESTINATION bin)
endif()
......
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