Fix: Change PUBLIC to INTERFACE for interface library in error message

This commit is contained in:
1294644079@qq.com 2026-04-11 22:19:14 +08:00 committed by Aniruddha Kanhere
parent 129b09fb1d
commit 4467fa8e41

View File

@ -25,7 +25,7 @@ if(NOT TARGET freertos_config )
" INTERFACE\n"
" include) # The config file directory\n"
" target_compile_definitions(freertos_config\n"
" PUBLIC\n"
" INTERFACE\n"
" projCOVERAGE_TEST=0)\n")
else()
message(WARNING " Using deprecated 'FREERTOS_CONFIG_FILE_DIRECTORY' - please update your project CMakeLists.txt file:\n"
@ -34,7 +34,7 @@ if(NOT TARGET freertos_config )
" INTERFACE\n"
" include) # The config file directory\n"
" target_compile_definitions(freertos_config\n"
" PUBLIC\n"
" INTERFACE\n"
" projCOVERAGE_TEST=0)\n")
endif()
endif()