diff --git a/programs/CMakeLists.txt b/programs/CMakeLists.txt index 2350a2e24..2af4d119a 100644 --- a/programs/CMakeLists.txt +++ b/programs/CMakeLists.txt @@ -6,4 +6,6 @@ add_subdirectory(ssl) add_subdirectory(test) add_subdirectory(x509) add_subdirectory(util) -add_subdirectory(fuzz) +if (NOT WIN32) + add_subdirectory(fuzz) +endif() diff --git a/programs/Makefile b/programs/Makefile index 228a60e0f..1d14b701e 100644 --- a/programs/Makefile +++ b/programs/Makefile @@ -92,7 +92,13 @@ endif .PHONY: all clean list fuzz -all: $(APPS) fuzz +all: $(APPS) +ifndef WINDOWS +# APPS doesn't include the fuzzing programs, which aren't "normal" +# sample or test programs, and don't build with MSVC which is +# warning about fopen +all: fuzz +endif fuzz: $(MAKE) -C fuzz