Skip to content

Commit

Permalink
Workaround CPM issues with patching non-cached checkouts.
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfpld committed Oct 3, 2024
1 parent 4497201 commit b46d8db
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 @@ -154,7 +154,7 @@ set(CPM_DRY_RUN
if(DEFINED ENV{CPM_SOURCE_CACHE})
set(CPM_SOURCE_CACHE_DEFAULT $ENV{CPM_SOURCE_CACHE})
else()
set(CPM_SOURCE_CACHE_DEFAULT OFF)
set(CPM_SOURCE_CACHE_DEFAULT ${CMAKE_CURRENT_BINARY_DIR}/.cpm-cache)
endif()

set(CPM_SOURCE_CACHE
Expand Down

0 comments on commit b46d8db

Please sign in to comment.