Skip to content

Commit

Permalink
fix(lock): fix typo: CPM_CACHE_SOURCE -> CPM_SOURCE_CACHE (#485)
Browse files Browse the repository at this point in the history
  • Loading branch information
vulptex committed Jul 12, 2023
1 parent 1b59cb6 commit ee556fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/CPM.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ function(CPMAddPackage)
"${CPM_ARGS_NAME}" "${CPM_ARGS_VERSION}" "${PACKAGE_INFO}" "${CPM_ARGS_UNPARSED_ARGUMENTS}"
)
cpm_fetch_package("${CPM_ARGS_NAME}" populated)
if(CPM_CACHE_SOURCE AND download_directory)
if(CPM_SOURCE_CACHE AND download_directory)
file(LOCK ${download_directory}/../cmake.lock RELEASE)
endif()
if(${populated})
Expand Down

0 comments on commit ee556fc

Please sign in to comment.