diff --git a/Modules/Platform/Generic-SDCC-C.cmake b/Modules/Platform/Generic-SDCC-C.cmake index 9e3f9397c..fe94c3c64 100644 --- a/Modules/Platform/Generic-SDCC-C.cmake +++ b/Modules/Platform/Generic-SDCC-C.cmake @@ -30,7 +30,7 @@ SET(CMAKE_AR "${SDCCLIB_EXECUTABLE}" CACHE FILEPATH "The sdcc librarian" FORCE) # CMAKE_C_FLAGS_INIT and CMAKE_EXE_LINKER_FLAGS_INIT should be set in a CMAKE_SYSTEM_PROCESSOR file IF(NOT DEFINED CMAKE_C_FLAGS_INIT) - SET(CMAKE_C_FLAGS_INIT -mmcs51 --model-small) + SET(CMAKE_C_FLAGS_INIT "-mmcs51 --model-small") ENDIF(NOT DEFINED CMAKE_C_FLAGS_INIT) IF(NOT DEFINED CMAKE_EXE_LINKER_FLAGS_INIT)