cmake: detect argp.h on osx

This commit is contained in:
Aris Adamantiadis
2016-03-14 22:27:06 +01:00
parent 4d43fbfb50
commit 5027627344
3 changed files with 9 additions and 4 deletions

View File

@@ -74,6 +74,10 @@ if (WITH_NACL)
endif (NOT NACL_FOUND)
endif (WITH_NACL)
if (BSD OR SOLARIS OR OSX)
find_package(Argp)
endif (BSD OR SOLARIS OR OSX)
# config.h checks
include(ConfigureChecks.cmake)
configure_file(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)