cmake: don't forbid undefined symbols on openbsd

This commit is contained in:
selsta 2021-07-28 01:17:40 +02:00
parent 960376b960
commit 055657241d
No known key found for this signature in database
GPG Key ID: 2EA0A99A8B07AE5E
1 changed files with 3 additions and 1 deletions

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)