fuzzers|cmake: Enable C++ for EXPAT_BUILD_FUZZERS

This commit is contained in:
Sebastian Pipping 2025-02-02 20:45:23 +01:00
parent b1d40decd9
commit c87f28da40

View file

@ -169,7 +169,7 @@ if(NOT _EXPAT_HELP)
mark_as_advanced(_EXPAT_M32)
endif()
if(EXPAT_BUILD_TESTS)
if(EXPAT_BUILD_TESTS OR EXPAT_BUILD_FUZZERS)
# We have to call enable_language() before modifying any CMAKE_CXX_* variables
enable_language(CXX)