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
1 changed files with 1 additions and 1 deletions

View File

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