Skip to content

Commit

Permalink
Remove dangling call to parse_transform_target_args
Browse files Browse the repository at this point in the history
  • Loading branch information
reuterbal committed Oct 8, 2023
1 parent 7ea6ad9 commit d3f80bc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cmake/loki_transform.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ include( loki_transform_helpers )
# [HEADERS <header1> [<header2> ...]]
# )
#
# Call ``loki-transform.py <ecphys|...> ...`` with the provided arguments.
# Call ``loki-transform.py <convert|...> ...`` with the provided arguments.
# See ``loki-transform.py`` for a description of all options.
#
# Options
Expand Down Expand Up @@ -228,7 +228,9 @@ function( loki_transform_target )

cmake_parse_arguments( _PAR "${options}" "${single_value_args}" "${multi_value_args}" ${ARGN} )

_loki_transform_parse_target_args( loki_transform_target )
if( _PAR_UNPARSED_ARGUMENTS )
ecbuild_critical( "Unknown keywords given to loki_transform_target(): \"${_PAR_UNPARSED_ARGUMENTS}\"")
endif()

if( NOT _PAR_TARGET )
ecbuild_critical( "The call to loki_transform_target() doesn't specify the TARGET." )
Expand Down

0 comments on commit d3f80bc

Please sign in to comment.