diff options
author | luigi1111 <luigi1111w@gmail.com> | 2021-07-28 14:02:43 -0400 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2021-07-28 14:02:43 -0400 |
commit | 5a34eae063b148e62310f2dc2ef1ed2eaabcce13 (patch) | |
tree | 71ecaf15d264ebae3d8b4f8db7242db064c59c06 | |
parent | Merge pull request #7789 (diff) | |
parent | cmake: don't forbid undefined symbols on openbsd (diff) | |
download | monero-5a34eae063b148e62310f2dc2ef1ed2eaabcce13.tar.xz |
Merge pull request #7815
7128f73 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 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) |