Sfoglia il codice sorgente

Turn off -Werror

tags/v1.8.0
Xerbo 2 anni fa
parent
commit
0c44daa165
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 34103F6D8F11CEB0
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      CMakeLists.txt

+ 2
- 2
CMakeLists.txt Vedi File

@@ -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()


Caricamento…
Annulla
Salva