Skip to content

Commit 38b3423

Browse files
committed
Fix: Change PUBLIC to INTERFACE for interface library in error message
1 parent 129b09f commit 38b3423

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if(NOT TARGET freertos_config )
2525
" INTERFACE\n"
2626
" include) # The config file directory\n"
2727
" target_compile_definitions(freertos_config\n"
28-
" PUBLIC\n"
28+
" INTERFACE\n"
2929
" projCOVERAGE_TEST=0)\n")
3030
else()
3131
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 )
3434
" INTERFACE\n"
3535
" include) # The config file directory\n"
3636
" target_compile_definitions(freertos_config\n"
37-
" PUBLIC\n"
37+
" INTERFACE\n"
3838
" projCOVERAGE_TEST=0)\n")
3939
endif()
4040
endif()

0 commit comments

Comments
 (0)