cmake: bodge cmake failure on OSS-Fuzz

This commit is contained in:
moneromooo-monero 2021-07-31 19:22:57 +00:00
parent 56f7609643
commit 90d6bed804
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

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()