From 86057e60f242074b915189ed5367f7bd717fe391 Mon Sep 17 00:00:00 2001 From: Carlo Bramini Date: Fri, 10 Jun 2022 10:45:41 +0000 Subject: [PATCH] CYGWIN provides an implemention of libargp as a separate package: https://cygwin.com/cgi-bin2/package-grep.cgi?grep=libargp&arch=x86_64 The current CMakeLists.txt already provides the detection of this library for BSD/SOLARIS/OSX, so CYGWIN can be easily added there for support. Signed-off-by: Carlo Bramini Reviewed-by: Jakub Jelen --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 32172d95..0c5f7f73 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -103,9 +103,9 @@ if (WITH_NACL) endif (NOT NACL_FOUND) endif (WITH_NACL) -if (BSD OR SOLARIS OR OSX) +if (BSD OR SOLARIS OR OSX OR CYGWIN) find_package(Argp) -endif (BSD OR SOLARIS OR OSX) +endif (BSD OR SOLARIS OR OSX OR CYGWIN) # Disable symbol versioning in non UNIX platforms if (UNIX)