IAP GITLAB
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
corsika
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Air Shower Physics
corsika
Commits
4e6f8618
Commit
4e6f8618
authored
4 years ago
by
Ralf M Ulrich
Committed by
ralfulrich
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
another cmake consistency check
parent
1aa89bc8
No related branches found
No related tags found
1 merge request
!191
Resolve "Runtime error with pythia"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ThirdParty/CMakeLists.txt
+13
-1
13 additions, 1 deletion
ThirdParty/CMakeLists.txt
with
13 additions
and
1 deletion
ThirdParty/CMakeLists.txt
+
13
−
1
View file @
4e6f8618
...
...
@@ -25,7 +25,10 @@ message ("***** Configuring boost version")
set
(
USE_BOOST_C8
"C8"
CACHE STRING
"Selection of boost package. Can be \'C8\' or \'SYSTEM\'. Default: \'C8\'."
)
set_property
(
CACHE USE_BOOST_C8 PROPERTY STRINGS
${
ThirdPartyChoiceValues
}
)
set_property
(
CACHE USE_BOOST_C8 PROPERTY STRINGS
${
ThirdPartyChoiceValues
}
)
if
(
NOT
(
${
USE_BOOST_C8
}
IN_LIST ThirdPartyChoiceValues
))
message
(
SEND_ERROR
"Illegal USE_BOOST_C8=
\"
${
USE_BOOST_C8
}
\"
can only be one of:
${
ThirdPartyChoiceValues
}
"
)
endif
(
NOT
(
${
USE_BOOST_C8
}
IN_LIST ThirdPartyChoiceValues
))
message
(
STATUS
"USE_BOOST_C8='
${
USE_BOOST_C8
}
'"
)
add_library
(
C8::ext::boost INTERFACE IMPORTED GLOBAL
)
...
...
@@ -87,6 +90,9 @@ message ("***** Configuring eigen3 version")
set
(
USE_EIGEN3_C8
"C8"
CACHE STRING
"Selection of eigen3 package. Can be \'C8\' or \'SYSTEM\'. Default: \'C8\'."
)
set_property
(
CACHE USE_EIGEN3_C8 PROPERTY STRINGS
${
ThirdPartyChoiceValues
}
)
if
(
NOT
(
${
USE_EIGEN3_C8
}
IN_LIST ThirdPartyChoiceValues
))
message
(
SEND_ERROR
"Illegal USE_EIGEN3_C8=
\"
${
USE_EIGEN3_C8
}
\"
can only be one of:
${
ThirdPartyChoiceValues
}
"
)
endif
(
NOT
(
${
USE_EIGEN3_C8
}
IN_LIST ThirdPartyChoiceValues
))
message
(
STATUS
"USE_EIGEN3_C8='
${
USE_EIGEN3_C8
}
'"
)
add_library
(
C8::ext::eigen3 INTERFACE IMPORTED GLOBAL
)
...
...
@@ -149,6 +155,9 @@ message ("***** Configuring Pythia8 version")
set
(
USE_PYTHIA8_C8
"C8"
CACHE STRING
"Selection of pythia8 package. Can be \'C8\' or \'SYSTEM\'. Default: \'C8\'."
)
set_property
(
CACHE USE_PYTHIA8_C8 PROPERTY STRINGS
${
ThirdPartyChoiceValues
}
)
if
(
NOT
(
${
USE_PYTHIA8_C8
}
IN_LIST ThirdPartyChoiceValues
))
message
(
SEND_ERROR
"Illegal USE_PYTHIA8_C8=
\"
${
USE_PYTHIA8_C8
}
\"
can only be one of:
${
ThirdPartyChoiceValues
}
"
)
endif
(
NOT
(
${
USE_PYTHIA8_C8
}
IN_LIST ThirdPartyChoiceValues
))
message
(
STATUS
"USE_PYTHIA8_C8='
${
USE_PYTHIA8_C8
}
'"
)
add_library
(
C8::ext::pythia8 STATIC IMPORTED GLOBAL
)
...
...
@@ -212,6 +221,9 @@ message ("***** Configuring CxRoot/CONEX version")
set
(
USE_CONEX_C8
"C8"
CACHE STRING
"Selection of conex package. Can be \'C8\' or \'SYSTEM\'. Default: \'C8\'."
)
set_property
(
CACHE USE_CONEX_C8 PROPERTY STRINGS
${
ThirdPartyChoiceValues
}
)
if
(
NOT
(
${
USE_CONEX_C8
}
IN_LIST ThirdPartyChoiceValues
))
message
(
SEND_ERROR
"Illegal USE_CONEX_C8=
\"
${
USE_CONEX_C8
}
\"
can only be one of:
${
ThirdPartyChoiceValues
}
"
)
endif
(
NOT
(
${
USE_CONEX_C8
}
IN_LIST ThirdPartyChoiceValues
))
message
(
STATUS
"USE_CONEX_C8='
${
USE_CONEX_C8
}
'"
)
add_library
(
C8::ext::conex STATIC IMPORTED GLOBAL
)
...
...
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