Skip to content

Commit fa5058c

Browse files
authored
Update CPM.cmake
1 parent a0663be commit fa5058c

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
@@ -42,7 +42,7 @@ if(NOT COMMAND cpm_message)
4242
endfunction()
4343
endif()
4444

45-
if(DEFINED CPM_VERSION)
45+
if(DEFINED CPM_VERSION AND CPM_RELEASE)
4646
set(CURRENT_CPM_VERSION "${CPM_VERSION}${CPM_DEVELOPMENT}")
4747
else()
4848
set(CURRENT_CPM_VERSION 1.0.0-development-version)

0 commit comments

Comments
 (0)