CMakeLists.txt: clean up OpenBSD support

A few things might have changed.
This commit is contained in:
Přemysl Eric Janouch 2020-10-29 15:31:05 +01:00
parent 8822d06091
commit 425ea57b17
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 0 additions and 2 deletions

View File

@ -16,8 +16,6 @@ find_package (PkgConfig REQUIRED)
pkg_check_modules (libssl REQUIRED libssl libcrypto) pkg_check_modules (libssl REQUIRED libssl libcrypto)
if ("${CMAKE_SYSTEM_NAME}" MATCHES "BSD") if ("${CMAKE_SYSTEM_NAME}" MATCHES "BSD")
include_directories (/usr/local/include)
link_directories (/usr/local/lib)
# Our POSIX version macros make these undefined # Our POSIX version macros make these undefined
add_definitions (-D__BSD_VISIBLE=1 -D_BSD_SOURCE=1) add_definitions (-D__BSD_VISIBLE=1 -D_BSD_SOURCE=1)
endif ("${CMAKE_SYSTEM_NAME}" MATCHES "BSD") endif ("${CMAKE_SYSTEM_NAME}" MATCHES "BSD")