File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22#
33# SPDX-FileCopyrightText: Copyright (c) 2019-2023 Lars Melchior and contributors
44
5- set (CPM_DOWNLOAD_VERSION 0.42.3 )
6- set (CPM_HASH_SUM "a609e875fd532b067174250f6abbc3dac22fe2d64869783fb1e80bda1625c844 " )
5+ set (CPM_DOWNLOAD_VERSION 0.43.1 )
6+ set (CPM_HASH_SUM "1c40fc102ce9625d7de7eb14f541cab30cc3138dca627f0b0ec40293ce6c2934 " )
77
8- if (CPM_SOURCE_CACHE)
8+ if (CPM_PATH)
9+ set (CPM_DOWNLOAD_LOCATION "${CPM_PATH} /CPM.cmake" )
10+ elseif (DEFINED ENV{CPM_PATH})
11+ file (TO_CMAKE_PATH "$ENV{CPM_PATH} /CPM.cmake" CPM_DOWNLOAD_LOCATION )
12+ elseif (CPM_SOURCE_CACHE)
913 set (CPM_DOWNLOAD_LOCATION "${CPM_SOURCE_CACHE} /cpm/CPM_${CPM_DOWNLOAD_VERSION} .cmake" )
1014elseif (DEFINED ENV{CPM_SOURCE_CACHE})
1115 set (CPM_DOWNLOAD_LOCATION "$ENV{CPM_SOURCE_CACHE} /cpm/CPM_${CPM_DOWNLOAD_VERSION} .cmake" )
You can’t perform that action at this time.
0 commit comments