Skip to content

Commit 6ae9cbd

Browse files
committed
Update CPM.cmake
1 parent e6ec1e8 commit 6ae9cbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/CPM.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
set(CPM_DOWNLOAD_VERSION 0.40.8)
22

33
set(CPM_SOURCE_CACHE "${CMAKE_SOURCE_DIR}/out/thirdparty")
4-
set(CPM_DOWNLOAD_LOCATION "${CMAKE_BINARY_DIR}/cmake/CPM_${CPM_DOWNLOAD_VERSION}.cmake")
4+
set(CPM_DOWNLOAD_LOCATION "${CMAKE_SOURCE_DIR}/out/cmake/CPM_${CPM_DOWNLOAD_VERSION}.cmake")
55

66
# Expand relative path. This is important if the provided path contains a tilde (~)
77
get_filename_component(CPM_DOWNLOAD_LOCATION ${CPM_DOWNLOAD_LOCATION} ABSOLUTE)

0 commit comments

Comments
 (0)