Commit a667578f authored by Thomas White's avatar Thomas White
Browse files

Add configuration check for argp

parent feb8e4e6
......@@ -140,6 +140,13 @@ endif (OpenCL_FOUND)
# Check for nice clock function
check_symbol_exists(clock_gettime "time.h" HAVE_CLOCK_GETTIME)
# Check for argp
check_symbol_exists(argp_parse "argp.h" HAVE_ARGP)
message(ERROR "argp not found. If you're building on Mac OS using libraries"
"from Homebrew, install argp-standalone.")
endif (!HAVE_ARGP)
# Add the libcrystfel target
Supports Markdown
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