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

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