diff options
author | luigi1111 <luigi1111w@gmail.com> | 2021-07-28 14:02:20 -0400 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2021-07-28 14:02:20 -0400 |
commit | 56f760964314aa16b5eda66875d55bf74fbbcff0 (patch) | |
tree | dba1815ce3dde8dfaeb091fc25e5c9708c5d49e5 | |
parent | Merge pull request #7813 (diff) | |
parent | cmake: don't forbid undefined symbols on openbsd (diff) | |
download | monero-56f760964314aa16b5eda66875d55bf74fbbcff0.tar.xz |
Merge pull request #7814
0556572 cmake: don't forbid undefined symbols on openbsd (selsta)
-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) |