Fix: Change PUBLIC to INTERFACE for interface library in error message
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9143337..86471b7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -25,7 +25,7 @@ " 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 @@ " INTERFACE\n" " include) # The config file directory\n" " target_compile_definitions(freertos_config\n" - " PUBLIC\n" + " INTERFACE\n" " projCOVERAGE_TEST=0)\n") endif() endif()