Skip to content

Commit af3f1ca

Browse files
Prevent check variable leaking into caller scope (#457)
1 parent b9b512a commit af3f1ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/get_cpm.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ else()
2727
if("${check}" STREQUAL "")
2828
download_cpm()
2929
endif()
30+
unset(check)
3031
endif()
3132

3233
include(${CPM_DOWNLOAD_LOCATION})

0 commit comments

Comments
 (0)