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
4cb7017c
Commit
4cb7017c
authored
5 years ago
by
Andre Sailer
Browse files
Options
Downloads
Patches
Plain Diff
XML_SETUP: protect against calling it twice
parent
f586280b
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
cmake/DD4hep_XML_setup.cmake
+5
-3
5 additions, 3 deletions
cmake/DD4hep_XML_setup.cmake
with
5 additions
and
3 deletions
cmake/DD4hep_XML_setup.cmake
+
5
−
3
View file @
4cb7017c
...
@@ -8,8 +8,10 @@ if(DD4HEP_USE_XERCESC)
...
@@ -8,8 +8,10 @@ if(DD4HEP_USE_XERCESC)
set
(
XML_LIBRARIES XercesC::XercesC
)
set
(
XML_LIBRARIES XercesC::XercesC
)
else
()
else
()
set
(
DD4HEP_USE_XERCESC OFF
)
set
(
DD4HEP_USE_XERCESC OFF
)
ADD_LIBRARY
(
TinyXML INTERFACE
)
IF
(
NOT TARGET TinyXML
)
TARGET_COMPILE_DEFINITIONS
(
TinyXML INTERFACE DD4HEP_USE_TINYXML
)
ADD_LIBRARY
(
TinyXML INTERFACE
)
TARGET_COMPILE_DEFINITIONS
(
TinyXML INTERFACE DD4HEP_USE_TINYXML
)
INSTALL
(
TARGETS TinyXML EXPORT DD4hep DESTINATION lib
)
ENDIF
()
set
(
XML_LIBRARIES TinyXML
)
set
(
XML_LIBRARIES TinyXML
)
INSTALL
(
TARGETS TinyXML EXPORT DD4hep DESTINATION lib
)
endif
()
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