From a864db0dd62352981e8f550ca4475524384408ec Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Wed, 10 Jul 2019 20:37:57 +0200 Subject: [PATCH] Do not build fuzz on windows --- programs/CMakeLists.txt | 4 +++- programs/Makefile | 8 +++++++- 2 files changed, 10 insertions(+), 2 deletions(-) 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