forked from bblanchon/ArduinoJson
Added -fno-rtti
This commit is contained in:
@ -5,6 +5,7 @@ file(GLOB_RECURSE CPP_FILES *.cpp)
|
|||||||
if(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)")
|
if(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)")
|
||||||
add_definitions(
|
add_definitions(
|
||||||
-fno-exceptions
|
-fno-exceptions
|
||||||
|
-fno-rtti
|
||||||
-pedantic
|
-pedantic
|
||||||
-Wall
|
-Wall
|
||||||
-Wcast-align
|
-Wcast-align
|
||||||
|
Reference in New Issue
Block a user