We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a70c613 commit 8ae0a09Copy full SHA for 8ae0a09
cmake/CPM.cmake
@@ -42,8 +42,8 @@ if(NOT COMMAND cpm_message)
42
endfunction()
43
endif()
44
45
-if("${PROJECT_NAME}" STREQUAL "CPM" AND CPM_RELEASE)
46
- set(CURRENT_CPM_VERSION "${PROJECT_VERSION}")
+if(DEFINED CPM_VERSION)
+ set(CURRENT_CPM_VERSION "${CPM_VERSION}${CPM_DEVELOPMENT}")
47
else()
48
set(CURRENT_CPM_VERSION 1.0.0-development-version)
49
0 commit comments