diff --git a/CMakeLists.txt b/CMakeLists.txt index 571aadae5ed..9e0dfe90ba9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -258,7 +258,7 @@ if(NOT CONFIG_CPP_EXCEPTIONS) zephyr_compile_options($<$:$>) endif() -if(NOT CONFIG_RTTI) +if(NOT CONFIG_CPP_RTTI) # @Intent: Obtain compiler specific flags related to C++ Run Time Type Information zephyr_compile_options($<$:$>) endif()