Skip to content

Commit 8c24637

Browse files
[cmake] remove unneeded function params
1 parent e5d1457 commit 8c24637

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ find_package(Qt6 COMPONENTS Core Concurrent Network REQUIRED)
137137
# POCO config
138138
find_package(Poco REQUIRED COMPONENTS Foundation Zip)
139139

140-
function(determine_version OUTPUT_VARIABLE SEMANTIC_VERSION BUILD_NUMBER)
140+
function(determine_version OUTPUT_VARIABLE)
141141
# use upstream repo as the authoritative reference when checking for release status
142142
# set -DMULTIPASS_UPSTREAM="" to use the local repository
143143
if(MULTIPASS_UPSTREAM)
@@ -232,7 +232,7 @@ function(determine_version_components VERSION_STRING SEMANTIC_VERSION BUILD_NUMB
232232
set(${BUILD_NUMBER} ${MULTIPASS_BUILD_NUMBER} PARENT_SCOPE)
233233
endfunction()
234234

235-
determine_version(MULTIPASS_VERSION MULTIPASS_SEMANTIC_VERSION MULTIPASS_BUILD_NUMBER)
235+
determine_version(MULTIPASS_VERSION)
236236
set(MULTIPASS_VERSION ${MULTIPASS_VERSION})
237237
message(STATUS "Setting version to: ${MULTIPASS_VERSION}")
238238

0 commit comments

Comments
 (0)