Skip to content

Commit

Permalink
Turn setup_ev_cli into a function
Browse files Browse the repository at this point in the history
Signed-off-by: Kai-Uwe Hermann <[email protected]>
  • Loading branch information
hikinggrass committed Oct 14, 2024
1 parent f3288b2 commit 70874ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/ev-cli.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
macro(setup_ev_cli)
function(setup_ev_cli)
if(NOT TARGET ev-cli)
add_custom_target(ev-cli)
endif()
Expand All @@ -25,7 +25,7 @@ macro(setup_ev_cli)
require_ev_cli_version(${EVEREST_REQUIRED_EV_CLI_VERSION})

set_ev_cli_template_properties()
endmacro()
endfunction()

function(require_ev_cli_version EV_CLI_VERSION_REQUIRED)
execute_process(
Expand Down

0 comments on commit 70874ba

Please sign in to comment.