Skip to content

Commit

Permalink
CMAKE: pass preproc includes to loki_transform_target
Browse files Browse the repository at this point in the history
  • Loading branch information
awnawab committed Mar 28, 2024
1 parent f0fa480 commit 73f6619
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/loki_transform.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ function( loki_transform_target )
RESOLVE_SEQUENCE_ASSOCIATION DERIVE_ARGUMENT_ARRAY_SHAPE TRIM_VECTOR_SECTIONS GLOBAL_VAR_OFFLOAD
)
set( single_value_args TARGET COMMAND MODE DIRECTIVE FRONTEND CONFIG PLAN )
set( multi_value_args SOURCES HEADERS DEFINITIONS )
set( multi_value_args SOURCES HEADERS DEFINITIONS INCLUDES )

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

Expand Down Expand Up @@ -322,6 +322,7 @@ function( loki_transform_target )
SOURCES ${_PAR_T_SOURCES}
HEADERS ${_PAR_T_HEADERS}
DEFINITIONS ${_PAR_T_DEFINITIONS}
INCLUDES ${_PAR_T_INCLUDES}
DEPENDS ${LOKI_SOURCES_TO_TRANSFORM} ${_PAR_T_HEADER} ${_PAR_T_CONFIG}
${_TRANSFORM_OPTIONS}
)
Expand Down

0 comments on commit 73f6619

Please sign in to comment.