aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-07-28 14:02:20 -0400
committerluigi1111 <luigi1111w@gmail.com>2021-07-28 14:02:20 -0400
commit56f760964314aa16b5eda66875d55bf74fbbcff0 (patch)
treedba1815ce3dde8dfaeb091fc25e5c9708c5d49e5
parentMerge pull request #7813 (diff)
parentcmake: don't forbid undefined symbols on openbsd (diff)
downloadmonero-56f760964314aa16b5eda66875d55bf74fbbcff0.tar.xz
Merge pull request #7814
0556572 cmake: don't forbid undefined symbols on openbsd (selsta)
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f2cdc1818..33b00a725 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -234,7 +234,9 @@ add_library(l3 OBJECT incorrect_source.cpp)
file(REMOVE_RECURSE "${TEST_PROJECT}")
endforeach()
endfunction()
-forbid_undefined_symbols()
+if (NOT (CMAKE_SYSTEM_NAME MATCHES "kOpenBSD.*|OpenBSD.*"))
+ forbid_undefined_symbols()
+endif()
if (MINGW)
function(export_all_symbols)