From 03087e020cd59712e0199897b60a9c1a6d25859a Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 8 Sep 2010 11:41:14 +0200 Subject: [PATCH] build: Improve the check for argp. --- tests/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 8d1cb1e0..458c42fd 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,8 +1,8 @@ project(tests C) -if (${CMAKE_SYSTEM_NAME} MATCHES "(OpenBSD|FreeBSD)") +if (UNIX AND NOT LINUX) find_package(Argp) -endif (${CMAKE_SYSTEM_NAME} MATCHES "(OpenBSD|FreeBSD)") +endif (UNIX AND NOT LINUX) set(TORTURE_LIBRARY torture)