Skip to content
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

Is local ? #590

Open
Arniiiii opened this issue Aug 29, 2024 · 0 comments · May be fixed by #594
Open

Is local ? #590

Arniiiii opened this issue Aug 29, 2024 · 0 comments · May be fixed by #594

Comments

@Arniiiii
Copy link

pkgname_ADDED shows if the package is added in a iteration of CPMAddPackage (or CPMFindPackage) of the same package and currently works in next way:

  • if first iteration:
    • if local : pkgname_ADDED STREQUAL ""
    • if downloaded: pkgname_ADDED STREQUAL "YES"
  • if second or any later iteration:
    • pkgname_ADDED STREQUAL "NO"

This can be useful. Though, I need to understand in later iterations if the package is local or not.

I propose to add pkgname_LOCAL variable.

@Arniiiii Arniiiii linked a pull request Aug 30, 2024 that will close this issue
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 a pull request may close this issue.

1 participant