← Commit list

921ff01263

Viktor Szakats
Viktor Szakats
2025-10-21
SUCCESS Duration: 146s

Subject

cmake: two minor tidy-ups

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

CMake/PickyWarnings.cmake+4 -6
@@ -29,12 +29,10 @@ set(_picky_nocheck "") # not to pass to feature checks
if(CURL_WERROR)
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.24)
set(CMAKE_COMPILE_WARNING_AS_ERROR ON)
- else()
- if(MSVC)
- list(APPEND _picky_nocheck "-WX")
- else() # llvm/clang and gcc style options
- list(APPEND _picky_nocheck "-Werror")
- endif()
+ elseif(MSVC)
+ list(APPEND _picky_nocheck "-WX")
+ else() # llvm/clang and gcc-style options
+ list(APPEND _picky_nocheck "-Werror")
endif()
if((CMAKE_C_COMPILER_ID STREQUAL "GNU" AND