From f421c0591352a1e2f535ba3a2c7b6baf5c3282a0 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 9 Aug 2011 19:52:26 +0200 Subject: cmake: Check for argp library only on bsd and solaris. --- tests/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index e620561..802ee56 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,6 +1,8 @@ project(tests C) -find_package(Argp) +if (BSD OR SOLARIS) + find_package(Argp) +endif (BSD OR SOLARIS) set(TORTURE_LIBRARY torture) -- cgit