Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
partons
core
partons
Commits
8c3926ab
Commit
8c3926ab
authored
Jul 20, 2021
by
Pawel Sznajder
Browse files
Improve FindApfel
parent
8edda36b
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake/Modules/FindApfel++.cmake
View file @
8c3926ab
# APFEL++
find_program
(
Apfel++_CONFIG apfelxx-config REQUIRED
)
if
(
Apfel++_CONFIG
)
exec_program
(
${
Apfel++_CONFIG
}
ARGS --cppflags
...
...
@@ -19,4 +21,6 @@ if (Apfel++_CONFIG)
include
(
FindPackageHandleStandardArgs
)
find_package_handle_standard_args
(
Apfel++ REQUIRED_VARS Apfel++_LIBRARIES VERSION_VAR Apfel++_VERSION
)
else
(
Apfel++_CONFIG
)
message
(
FATAL_ERROR
"Apfel++ not found"
)
endif
(
Apfel++_CONFIG
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment