Merge pull request #7815

7128f73 cmake: don't forbid undefined symbols on openbsd (selsta)
This commit is contained in:
luigi1111 2021-07-28 14:02:43 -04:00
commit 5a34eae063
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -155,7 +155,9 @@ add_library(l3 OBJECT incorrect_source.cpp)
file(REMOVE_RECURSE "${TEST_PROJECT}") file(REMOVE_RECURSE "${TEST_PROJECT}")
endforeach() endforeach()
endfunction() endfunction()
if (NOT (CMAKE_SYSTEM_NAME MATCHES "kOpenBSD.*|OpenBSD.*"))
forbid_undefined_symbols() forbid_undefined_symbols()
endif()
if (MINGW) if (MINGW)
function(export_all_symbols) function(export_all_symbols)