From ca6767dece2bee01ad8293f386ef09435f98f614 Mon Sep 17 00:00:00 2001 From: John Date: Fri, 6 Jan 2023 12:32:06 +0100 Subject: [PATCH] allow argp-standalone as well --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5602e55d..e4e68d0e 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) if(NOT HAVE_ARGP) - find_library(LIB_ARGP argp) + find_library(LIB_ARGP NAMES argp argp-standalone) if (NOT LIB_ARGP) message(FATAL_ERROR "argp library not available") endif(NOT LIB_ARGP)