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