Skip to content

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

Merged
AniruddhaKanhere merged 1 commit intoFreeRTOS:mainfrom
Isla-jq:fix/cmake-interface-public-error
Apr 14, 2026
Merged

Fix: Change PUBLIC to INTERFACE for interface library in error message#1400
AniruddhaKanhere merged 1 commit intoFreeRTOS:mainfrom
Isla-jq:fix/cmake-interface-public-error

Conversation

@Isla-jq
Copy link
Copy Markdown
Contributor

@Isla-jq Isla-jq commented Apr 11, 2026

Correct target_compile_definitions scope in CMake error message for INTERFACE library

Description

This CMake error shows incorrect usage of PUBLIC scope with an INTERFACE library. This fix corrects the message code.

Test Steps

Verify the message now shows correct CMake syntax with INTERFACE instead of PUBLIC
Run CMake configuration to confirm it no longer generates scope errors

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@sonarqubecloud
Copy link
Copy Markdown

@AniruddhaKanhere AniruddhaKanhere merged commit 4467fa8 into FreeRTOS:main Apr 14, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants