diff options
author | Andreas Schneider <asn@cynapses.org> | 2010-09-08 11:41:14 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cynapses.org> | 2010-09-08 11:41:14 +0200 |
commit | 03087e020cd59712e0199897b60a9c1a6d25859a (patch) | |
tree | cb43128620249db6c9e51d262e7d29ed0030eb82 /tests/CMakeLists.txt | |
parent | 4f75fdcd1451ae60579209c73f6bccd874ce9382 (diff) | |
download | libssh-03087e020cd59712e0199897b60a9c1a6d25859a.tar.gz libssh-03087e020cd59712e0199897b60a9c1a6d25859a.tar.xz libssh-03087e020cd59712e0199897b60a9c1a6d25859a.zip |
build: Improve the check for argp.
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r-- | tests/CMakeLists.txt | 4 |
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) |