mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Workaround CPM issues with patching non-cached checkouts.
This commit is contained in:
parent
4497201928
commit
b46d8db565
@ -154,7 +154,7 @@ set(CPM_DRY_RUN
|
|||||||
if(DEFINED ENV{CPM_SOURCE_CACHE})
|
if(DEFINED ENV{CPM_SOURCE_CACHE})
|
||||||
set(CPM_SOURCE_CACHE_DEFAULT $ENV{CPM_SOURCE_CACHE})
|
set(CPM_SOURCE_CACHE_DEFAULT $ENV{CPM_SOURCE_CACHE})
|
||||||
else()
|
else()
|
||||||
set(CPM_SOURCE_CACHE_DEFAULT OFF)
|
set(CPM_SOURCE_CACHE_DEFAULT ${CMAKE_CURRENT_BINARY_DIR}/.cpm-cache)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(CPM_SOURCE_CACHE
|
set(CPM_SOURCE_CACHE
|
||||||
|
Loading…
Reference in New Issue
Block a user