Skip to content

Fix CMake Error: The following variables are used in this project, but they are set to NOTFOUND. #2314

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

devurandom
Copy link

Fixes:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
REALTIME_LIBRARY
    linked by target "test_SpringTime" in directory $PROJECT$/RecoilEngine/test
    linked by target "test_UDPListener" in directory $PROJECT$/RecoilEngine/test

when loading project into CLion 2025.1.1 bundled with CMake 3.31.6 on NixOS unstable.

…ut they are set to NOTFOUND.`

Fixes:
```
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
REALTIME_LIBRARY
    linked by target "test_SpringTime" in directory $PROJECT$/RecoilEngine/test
    linked by target "test_UDPListener" in directory $PROJECT$/RecoilEngine/test
```
when loading project into CLion 2025.1.1 bundled with CMake 3.31.6 on NixOS unstable.
Copy link
Contributor

@n-morales n-morales left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't seem correct.

@12345swordy
Copy link
Contributor

If I may be so bold, I don't think that the tests should be generated by default here. In fact I think that it should be its own git repository here as testing the engine should be its own thing.

@n-morales
Copy link
Contributor

n-morales commented May 22, 2025

If I may be so bold, I don't think that the tests should be generated by default here. In fact I think that it should be its own git repository here as testing the engine should be its own thing.

Well regardless -- this PR doesn't do anything. Or rather, it just silences a error message that is correctly generated by CMake.

EDIT: don't want to speculate too much but given the style, the comments, and the fact that it just silences the error (which is not a bug in the cmake) the PR was likely AI generated.

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