From: Yann Collet Date: Fri, 23 Dec 2022 22:18:11 +0000 (-0800) Subject: cmake build: fix nit X-Git-Tag: v1.5.4^2~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6640377783e73211d1afd440550f8587dd9de75c;p=thirdparty%2Fzstd.git cmake build: fix nit reported by @jaimeMF in https://github.com/facebook/zstd/pull/3392#discussion_r1056643794 --- diff --git a/build/cmake/CMakeModules/AddZstdCompilationFlags.cmake b/build/cmake/CMakeModules/AddZstdCompilationFlags.cmake index 8e36f61d0..0265349fb 100644 --- a/build/cmake/CMakeModules/AddZstdCompilationFlags.cmake +++ b/build/cmake/CMakeModules/AddZstdCompilationFlags.cmake @@ -38,7 +38,7 @@ macro(ADD_ZSTD_COMPILATION_FLAGS) # EnableCompilerFlag("-std=c99" true false) # Set C compiation to c99 standard if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND MSVC) # clang-cl normally maps -Wall to -Weverything. - EnableCompilerFlag("/clang:-Wall" true true flase) + EnableCompilerFlag("/clang:-Wall" true true false) else () EnableCompilerFlag("-Wall" true true false) endif ()