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.
pkgname_ADDEDshows if the package is added in a iteration of CPMAddPackage (or CPMFindPackage) of the same package and currently works in next way:pkgname_ADDED STREQUAL ""pkgname_ADDED STREQUAL "YES"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_LOCALvariable.