Merge pull request #4017 from bentley/openbsd-libs

OpenBSD neither provides nor requires libdl and librt.
This commit is contained in:
Matthew Parlane
2016-07-18 12:42:14 +12:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@ -424,7 +424,7 @@ if(ANDROID)
# We are cross compiling, search only the toolchain for libraries and includes
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
elseif(NOT APPLE)
elseif(NOT APPLE AND NOT CMAKE_SYSTEM_NAME MATCHES OpenBSD)
list(APPEND LIBS rt)
endif()