fix: GIT_TAG not parsed inside CPMFindPackage (#159)

When using CPMFindPackage, if no VERSION is given then GIT_TAG is used as fallback if defined, which is a good idea.
The issue is that GIT_TAG is missing inside the oneValueArgs variable therefore GIT_TAG is not parsed. This is resolved by this little change.
This commit is contained in:
Xavier Muller
2020-10-19 09:34:42 +02:00
committed by GitHub
parent 18e09b07ba
commit 3b404296b5

View File

@@ -119,6 +119,7 @@ function(CPMFindPackage)
set(oneValueArgs set(oneValueArgs
NAME NAME
VERSION VERSION
GIT_TAG
FIND_PACKAGE_ARGUMENTS FIND_PACKAGE_ARGUMENTS
) )