diff options
author | selsta <selsta@sent.at> | 2021-07-28 01:17:40 +0200 |
---|---|---|
committer | selsta <selsta@sent.at> | 2021-07-28 01:18:10 +0200 |
commit | 055657241d774576278148fbbdd1552d1bdd124d (patch) | |
tree | 4552c9ee30897d613aea632bbfe04a980c46ca95 | |
parent | Merge pull request #7782 (diff) | |
download | monero-055657241d774576278148fbbdd1552d1bdd124d.tar.xz |
cmake: don't forbid undefined symbols on openbsd
-rw-r--r-- | CMakeLists.txt | 4 |
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) |