瀏覽代碼

Turn off -Werror

tags/v1.8.0
Xerbo 2 年之前
父節點
當前提交
0c44daa165
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 34103F6D8F11CEB0
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      CMakeLists.txt

+ 2
- 2
CMakeLists.txt 查看文件

@@ -39,7 +39,7 @@ if (PNG_FOUND AND LIBSNDFILE_FOUND)

# Throw errors on warnings on release builds
if(CMAKE_BUILD_TYPE MATCHES "Release")
target_compile_options(aptdec PRIVATE -Wall -Wextra -pedantic -Wno-missing-field-initializers -Werror)
target_compile_options(aptdec PRIVATE -Wall -Wextra -pedantic -Wno-missing-field-initializers)
else()
target_compile_options(aptdec PRIVATE -Wall -Wextra -pedantic)
endif()
@@ -57,7 +57,7 @@ else()
target_link_libraries(aptstatic PRIVATE m)

if(CMAKE_BUILD_TYPE MATCHES "Release")
target_compile_options(apt PRIVATE -Wall -Wextra -pedantic -Wno-missing-field-initializers -Werror)
target_compile_options(apt PRIVATE -Wall -Wextra -pedantic -Wno-missing-field-initializers)
else()
target_compile_options(apt PRIVATE -Wall -Wextra -pedantic)
endif()


Loading…
取消
儲存