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}")
endforeach()
endfunction()
forbid_undefined_symbols()
if (NOT (CMAKE_SYSTEM_NAME MATCHES "kOpenBSD.*|OpenBSD.*"))
forbid_undefined_symbols()
endif()
if (MINGW)
function(export_all_symbols)