Skip to content

Commit

Permalink
Using single name definition for libraries everywhere. (#558)
Browse files Browse the repository at this point in the history
  • Loading branch information
phelter authored and paulbartell committed Nov 18, 2022
1 parent 8ede710 commit f6b7bd6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ cmake_minimum_required(VERSION 3.15)
# option FREERTOS_HEAP. If the option is not set, the cmake will default to
# using heap_4.c.

# FreeRTOS::Config target - typically INTERFACE - defines the path to FreeRTOSConfig.h and optionally other freertos based config files
# `freertos_config` target defines the path to FreeRTOSConfig.h and optionally other freertos based config files
if(NOT TARGET freertos_config )
message(FATAL_ERROR " freertos_config target not specified. Please specify a cmake target that defines the include directory for FreeRTOSConfig.h:\n"
" add_library(freertos_config INTERFACE)\n"
" add_library(FreeRTOS::Config ALIAS freertos_config)\n"
" target_include_directories(freertos_config SYSTEM\n"
" INTERFACE\n"
" include) # The config file directory\n"
Expand Down

0 comments on commit f6b7bd6

Please sign in to comment.