aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2021-07-28 01:17:40 +0200
committerselsta <selsta@sent.at>2021-07-28 01:23:03 +0200
commit7128f73ec29578ccbda93f317a1d178d4d064a25 (patch)
tree71ecaf15d264ebae3d8b4f8db7242db064c59c06 /CMakeLists.txt
parentMerge pull request #7789 (diff)
downloadmonero-7128f73ec29578ccbda93f317a1d178d4d064a25.tar.xz
cmake: don't forbid undefined symbols on openbsd
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 494abb295..66f4d0363 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -155,7 +155,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)