mirror of
https://github.com/polhenarejos/pico-fido
synced 2026-06-05 12:29:07 +02:00
Apply strict build.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -148,12 +148,9 @@ if(NOT ESP_PLATFORM)
|
||||
)
|
||||
target_compile_options(pico_fido PRIVATE ${COMMON_COMPILE_OPTIONS})
|
||||
|
||||
if(NOT MSVC)
|
||||
set(NON_MSVC_COMPILE_OPTIONS
|
||||
-Werror
|
||||
)
|
||||
target_compile_options(pico_fido PRIVATE ${NON_MSVC_COMPILE_OPTIONS})
|
||||
pico_keys_apply_strict_flags(SOURCES ${SOURCES})
|
||||
|
||||
if(NOT MSVC)
|
||||
string(FIND ${CMAKE_C_COMPILER} ":" COMPILER_COLON)
|
||||
if(${COMPILER_COLON} GREATER_EQUAL 0)
|
||||
target_compile_options(pico_fido PRIVATE
|
||||
|
||||
Reference in New Issue
Block a user