Merge pull request #7824

90d6bed cmake: bodge cmake failure on OSS-Fuzz (moneromooo-monero)
This commit is contained in:
luigi1111 2021-07-31 18:28:38 -04:00
commit 0b72f46bf2
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

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