mirror of
https://github.com/cpm-cmake/CPM.cmake.git
synced 2025-12-21 00:00:30 -05:00
Prevent check variable leaking into caller scope (#457)
This commit is contained in:
parent
b9b512a869
commit
af3f1ca814
@ -27,6 +27,7 @@ else()
|
||||
if("${check}" STREQUAL "")
|
||||
download_cpm()
|
||||
endif()
|
||||
unset(check)
|
||||
endif()
|
||||
|
||||
include(${CPM_DOWNLOAD_LOCATION})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user