if(myproject_BUILD_FUZZ_TESTS)
message(AUTHOR_WARNING "Building Fuzz Tests, using fuzzing sanitizer https://www.llvm.org/docs/LibFuzzer.html")
if (NOT myproject_ENABLE_ADDRESS_SANITIZER AND NOT myproject_ENABLE_THREAD_SANITIZER)
message(WARNING "You need asan or tsan enabled for meaningful fuzz testing")
endif()
add_subdirectory(fuzz_test)
endif()
could it be that myproject_ENABLE_ADDRESS_SANITIZER should be myproject_ENABLE_SANITIZER_ADDRESS andmyproject_ENABLE_THREAD_SANITIZERshould bemyproject_ENABLE_SANITIZER_THREAD` ?
In this piece of code:
could it be that
myproject_ENABLE_ADDRESS_SANITIZER
should bemyproject_ENABLE_SANITIZER_ADDRESS and
myproject_ENABLE_THREAD_SANITIZERshould be
myproject_ENABLE_SANITIZER_THREAD` ?