Skip to content

Commit

Permalink
[cmake] remove unneeded function params
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-toterman committed Dec 17, 2024
1 parent e5d1457 commit 8c24637
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ find_package(Qt6 COMPONENTS Core Concurrent Network REQUIRED)
# POCO config
find_package(Poco REQUIRED COMPONENTS Foundation Zip)

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

determine_version(MULTIPASS_VERSION MULTIPASS_SEMANTIC_VERSION MULTIPASS_BUILD_NUMBER)
determine_version(MULTIPASS_VERSION)
set(MULTIPASS_VERSION ${MULTIPASS_VERSION})
message(STATUS "Setting version to: ${MULTIPASS_VERSION}")

Expand Down

0 comments on commit 8c24637

Please sign in to comment.