diff --git a/CMakeLists.txt b/CMakeLists.txt index 286c5aa8d..a1b4bb79d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,12 +19,12 @@ cmake_minimum_required(VERSION 3.15) if(NOT TARGET freertos_config_${FREERTOS_TAG} ) if (NOT DEFINED FREERTOS_CONFIG_FILE_DIRECTORY ) - message(FATAL_ERROR " freertos_config target not specified. Please specify a cmake target that defines the include directory for FreeRTOSConfig.h:\n" + message(FATAL_ERROR " freertos_config_${FREERTOS_TAG} target not specified. Please specify a cmake target that defines the include directory for FreeRTOSConfig.h:\n" " add_library(freertos_config INTERFACE)\n" - " target_include_directories(freertos_config SYSTEM\n" + " target_include_directories(freertos_config_${FREERTOS_TAG} SYSTEM\n" " INTERFACE\n" " include) # The config file directory\n" - " target_compile_definitions(freertos_config\n" + " target_compile_definitions(freertos_config_${FREERTOS_TAG}\n" " PUBLIC\n" " projCOVERAGE_TEST=0)\n") else()