CMake Warning

Sysprogs forums Forums VisualGDB CMake Warning

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36208
    intector
    Participant

    Hello,

    I always get the message:

    CMake Warning:
      Manually-specified variables were not used by the project:
          LOCALAPPDATA

    Everything works fine, it’s just so annoying. Is there any way to get rid of that message?

    Attachments:
    You must be logged in to view attached files.
    #36210
    bflannery
    Participant

    You can suppress the warning by using the variable.

    Add this to your CMakeLists.txt

    Here we set ignoreMe to the variable thereby using it.

    • This reply was modified 17 hours, 20 minutes ago by bflannery.
    #36213
    support
    Keymaster

    Hi,

    Thanks for sharing this. This is a leftover from the BSP system layout that used the path explicitly (it can still use it now in some cases like manually overridden per-file settings) and this workaround should indeed work just fine.

    If anyone else finds the message too annoying, feel free to post here. If it bothers enough users, we can add a better workaround on our side.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.