aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2010-09-08 11:41:14 +0200
committerAndreas Schneider <asn@cynapses.org>2010-09-08 11:41:14 +0200
commit03087e020cd59712e0199897b60a9c1a6d25859a (patch)
treecb43128620249db6c9e51d262e7d29ed0030eb82 /tests
parent4f75fdcd1451ae60579209c73f6bccd874ce9382 (diff)
downloadlibssh-03087e020cd59712e0199897b60a9c1a6d25859a.tar.gz
libssh-03087e020cd59712e0199897b60a9c1a6d25859a.tar.xz
libssh-03087e020cd59712e0199897b60a9c1a6d25859a.zip
build: Improve the check for argp.
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt4
1 files 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)