allow argp-standalone as well

This commit is contained in:
John
2023-01-06 12:32:06 +01:00
parent b42b798e54
commit ca6767dece
+1 -1
View File
@@ -74,7 +74,7 @@ check_include_file(dev/usb/uftdiio.h HAVE_FREEBSD_UFTDI -DHAVE_FREEBSD_UFTDI=1)
check_function_exists(argp_parse HAVE_ARGP) check_function_exists(argp_parse HAVE_ARGP)
if(NOT HAVE_ARGP) if(NOT HAVE_ARGP)
find_library(LIB_ARGP argp) find_library(LIB_ARGP NAMES argp argp-standalone)
if (NOT LIB_ARGP) if (NOT LIB_ARGP)
message(FATAL_ERROR "argp library not available") message(FATAL_ERROR "argp library not available")
endif(NOT LIB_ARGP) endif(NOT LIB_ARGP)