diff --git a/boot/zephyr/CMakeLists.txt b/boot/zephyr/CMakeLists.txt index b57cb171..1a58c18b 100644 --- a/boot/zephyr/CMakeLists.txt +++ b/boot/zephyr/CMakeLists.txt @@ -145,7 +145,7 @@ endif() target_include_directories(app PRIVATE include) target_include_directories(app PRIVATE targets) if(EXISTS "${APPLICATION_SOURCE_DIR}/targets/${BOARD}.h") - target_compile_definitions(app PRIVATE "-DMCUBOOT_TARGET_CONFIG='\"${BOARD}.h\"'") + target_compile_definitions(app PRIVATE "-DMCUBOOT_TARGET_CONFIG=\"${BOARD}.h\"") endif() # Zephyr port-specific sources.