Skip to content

Commit 9ba5aee

Browse files
chore(deps): Update CPM.cmake to v0.42.3 (#675)
1 parent f43534d commit 9ba5aee

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

cmake/cpm/CPM.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ endif()
4545
if(DEFINED EXTRACTED_CPM_VERSION)
4646
set(CURRENT_CPM_VERSION "${EXTRACTED_CPM_VERSION}${CPM_DEVELOPMENT}")
4747
else()
48-
set(CURRENT_CPM_VERSION 0.42.2)
48+
set(CURRENT_CPM_VERSION 0.42.3)
4949
endif()
5050

5151
get_filename_component(CPM_CURRENT_DIRECTORY "${CMAKE_CURRENT_LIST_DIR}" REALPATH)
@@ -1243,6 +1243,7 @@ function(cpm_parse_option OPTION)
12431243
else()
12441244
math(EXPR OPTION_KEY_LENGTH "${OPTION_KEY_LENGTH}+1")
12451245
string(SUBSTRING "${OPTION}" "${OPTION_KEY_LENGTH}" "-1" OPTION_VALUE)
1246+
string(STRIP "${OPTION_VALUE}" OPTION_VALUE)
12461247
endif()
12471248
set(OPTION_KEY
12481249
"${OPTION_KEY}"

0 commit comments

Comments
 (0)