cmake: Check for argp library only on bsd and solaris.

This commit is contained in:
Andreas Schneider
2011-08-09 19:52:26 +02:00
parent e92787395a
commit f421c05913

View File

@@ -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)