mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-21 14:32:23 +02:00
Fix wrong build flags when COVERAGE
is not defined
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
if(NOT DEFINED COVERAGE)
|
||||||
|
set(COVERAGE OFF)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)")
|
if(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)")
|
||||||
add_compile_options(
|
add_compile_options(
|
||||||
-pedantic
|
-pedantic
|
||||||
|
Reference in New Issue
Block a user