Skip to content

Commit

Permalink
this should really fix the ci build
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-ce committed Nov 16, 2023
1 parent a636001 commit a779892
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/alp_generate_version_file.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ execute_process(COMMAND ${GIT_EXECUTABLE} describe --tags --dirty=-d --abbrev=1
WORKING_DIRECTORY ${ALP_VERSION_TEMPLATE_DIR}
OUTPUT_STRIP_TRAILING_WHITESPACE
OUTPUT_VARIABLE ALP_VERSION)

if (ALP_VERSION EQUAL "")
if (ALP_VERSION STREQUAL "")
message(WARNING "Retrieving version string from git was not successfull. Setting it to 'vUnknown'")
set(${output_variable} "vUnknown" PARENT_SCOPE)
else()
Expand Down

0 comments on commit a779892

Please sign in to comment.