diff options
author | Theo Buehler <tb@openbsd.org> | 2024-10-15 09:26:48 +0200 |
---|---|---|
committer | Theo Buehler <tb@openbsd.org> | 2024-10-15 09:26:48 +0200 |
commit | d8350cfac4e0046e411b5dfdfc2a568fc44ac6db (patch) | |
tree | 68997d1ff14e6b08d3a52a23328fdd1e5697c634 | |
parent | 3f9003232431b0c0fd5222efc6edcd8084746191 (diff) | |
parent | 91658ff373e03e10fdcd789173361f4270ef4f57 (diff) | |
download | portable-d8350cfac4e0046e411b5dfdfc2a568fc44ac6db.tar.gz portable-d8350cfac4e0046e411b5dfdfc2a568fc44ac6db.tar.bz2 portable-d8350cfac4e0046e411b5dfdfc2a568fc44ac6db.zip |
Land #1108 - Fix CMake build for FreeBSD
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9c3d0d4..204cb1b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -89,6 +89,10 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux") | |||
89 | set(PLATFORM_LIBS ${PLATFORM_LIBS} pthread) | 89 | set(PLATFORM_LIBS ${PLATFORM_LIBS} pthread) |
90 | endif() | 90 | endif() |
91 | 91 | ||
92 | if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") | ||
93 | set(PLATFORM_LIBS ${PLATFORM_LIBS} pthread) | ||
94 | endif() | ||
95 | |||
92 | if(WIN32) | 96 | if(WIN32) |
93 | set(BUILD_NC false) | 97 | set(BUILD_NC false) |
94 | if(MINGW) | 98 | if(MINGW) |