Commit 8c3926ab authored by Pawel Sznajder's avatar Pawel Sznajder
Browse files

Improve FindApfel

parent 8edda36b
# 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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment