Skip to content

Commit

Permalink
Expand comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
WardF committed May 21, 2024
1 parent 49db74e commit 498a86c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ include(FetchContent)


################################################################################
# Function to reduce repeated code, set
# Function to reduce repeated code, set a value to a variable only if the
# variable is not already defined.
function(set_git_default git_var git_val)

if(NOT ${git_var})
set(${git_var} ${git_val} PARENT_SCOPE)
endif()

endfunction(set_git_default)

################################################################################
Expand Down

0 comments on commit 498a86c

Please sign in to comment.