mirror of
https://github.com/facebook/zstd.git
synced 2025-07-29 11:21:22 +03:00
cmake build: fix nit
reported by @jaimeMF in https://github.com/facebook/zstd/pull/3392#discussion_r1056643794
This commit is contained in:
@ -38,7 +38,7 @@ macro(ADD_ZSTD_COMPILATION_FLAGS)
|
|||||||
# EnableCompilerFlag("-std=c99" true false) # Set C compiation to c99 standard
|
# EnableCompilerFlag("-std=c99" true false) # Set C compiation to c99 standard
|
||||||
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND MSVC)
|
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND MSVC)
|
||||||
# clang-cl normally maps -Wall to -Weverything.
|
# clang-cl normally maps -Wall to -Weverything.
|
||||||
EnableCompilerFlag("/clang:-Wall" true true flase)
|
EnableCompilerFlag("/clang:-Wall" true true false)
|
||||||
else ()
|
else ()
|
||||||
EnableCompilerFlag("-Wall" true true false)
|
EnableCompilerFlag("-Wall" true true false)
|
||||||
endif ()
|
endif ()
|
||||||
|
Reference in New Issue
Block a user