We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c1a39b commit faaf12cCopy full SHA for faaf12c
1 file changed
cmake/CPM.cmake
@@ -1,12 +1,6 @@
1
-set(CPM_DOWNLOAD_VERSION 0.38.7)
+set(CPM_DOWNLOAD_VERSION 0.42.1)
2
3
-if(CPM_SOURCE_CACHE)
4
- set(CPM_DOWNLOAD_LOCATION "${CPM_SOURCE_CACHE}/cpm/CPM_${CPM_DOWNLOAD_VERSION}.cmake")
5
-elseif(DEFINED ENV{CPM_SOURCE_CACHE})
6
- set(CPM_DOWNLOAD_LOCATION "$ENV{CPM_SOURCE_CACHE}/cpm/CPM_${CPM_DOWNLOAD_VERSION}.cmake")
7
-else()
8
- set(CPM_DOWNLOAD_LOCATION "${CMAKE_BINARY_DIR}/cmake/CPM_${CPM_DOWNLOAD_VERSION}.cmake")
9
-endif()
+set(CPM_DOWNLOAD_LOCATION "${CMAKE_BINARY_DIR}/cmake/CPM_${CPM_DOWNLOAD_VERSION}.cmake")
10
11
if(NOT (EXISTS ${CPM_DOWNLOAD_LOCATION}))
12
message(STATUS "Downloading CPM.cmake to ${CPM_DOWNLOAD_LOCATION}")
0 commit comments