diff --git a/third_party/kissfft/CMakeLists.txt b/third_party/kissfft/CMakeLists.txt index 0213798fa..9a0ab4d00 100644 --- a/third_party/kissfft/CMakeLists.txt +++ b/third_party/kissfft/CMakeLists.txt @@ -98,7 +98,7 @@ endif() if(CMAKE_C_COMPILER_ID MATCHES "GNU|Clang|AppleClang") add_compile_options(-ffast-math -fomit-frame-pointer -W -Wall -Wcast-align -Wcast-qual -Wshadow -Wwrite-strings - "$<$:-Wstrict-prototypes;-Wmissing-prototypes;-Wnested-externs;-Wbad-function-cast>") + $<$:-Wstrict-prototypes;-Wmissing-prototypes;-Wnested-externs;-Wbad-function-cast>) endif() # diff --git a/third_party/kissfft/build.cmake b/third_party/kissfft/build.cmake index 1ca886d2a..413e226e6 100644 --- a/third_party/kissfft/build.cmake +++ b/third_party/kissfft/build.cmake @@ -88,8 +88,8 @@ target_include_directories(kissfft PUBLIC if(CMAKE_C_COMPILER_ID MATCHES "GNU|Clang|AppleClang") target_compile_options(kissfft PRIVATE - "$<$:-ffast-math -fomit-frame-pointer -W -Wall -Wcast-align -Wcast-qual -Wwrite-strings>" - "$<$:-Wstrict-prototypes;-Wmissing-prototypes;-Wnested-externs;-Wbad-function-cast>") + $<$:-ffast-math -fomit-frame-pointer -W -Wall -Wcast-align -Wcast-qual -Wwrite-strings> + $<$:-Wstrict-prototypes;-Wmissing-prototypes;-Wnested-externs;-Wbad-function-cast>) endif() #