Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
2503bb98
Commit
2503bb98
authored
5 years ago
by
Andre Sailer
Browse files
Options
Downloads
Patches
Plain Diff
Fix DDG4Python compilation
parent
3f19ea21
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
DDG4/CMakeLists.txt
+3
-2
3 additions, 2 deletions
DDG4/CMakeLists.txt
with
3 additions
and
2 deletions
DDG4/CMakeLists.txt
+
3
−
2
View file @
2503bb98
...
...
@@ -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
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment