Merge pull request #370 from bshastry/fix-cmake-warning

CMake: Fix warning due to if statement with mismatching arguments
This commit is contained in:
Sebastian Pipping 2019-11-29 17:46:23 +01:00 committed by GitHub
commit ed3484270f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -457,7 +457,7 @@ if(EXPAT_BUILD_FUZZERS)
set_target_properties(${target_name} PROPERTIES LINKER_LANGUAGE "CXX")
else()
set_target_properties(${target_name} PROPERTIES LINK_FLAGS -fsanitize=fuzzer)
endif(NOT EXPAT_OSSFUZZ_BUILD)
endif(EXPAT_OSSFUZZ_BUILD)
set_property(
TARGET ${target_name} PROPERTY RUNTIME_OUTPUT_DIRECTORY fuzz)
endforeach()