Merge pull request #7814

0556572 cmake: don't forbid undefined symbols on openbsd (selsta)
This commit is contained in:
luigi1111 2021-07-28 14:02:20 -04:00
commit 56f7609643
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

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