Prevent check variable leaking into caller scope (#457)

This commit is contained in:
Craig Hutchinson 2023-02-27 11:48:00 +00:00 committed by GitHub
parent b9b512a869
commit af3f1ca814
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,7 @@ else()
if("${check}" STREQUAL "") if("${check}" STREQUAL "")
download_cpm() download_cpm()
endif() endif()
unset(check)
endif() endif()
include(${CPM_DOWNLOAD_LOCATION}) include(${CPM_DOWNLOAD_LOCATION})