Skip to content

Commit

Permalink
Merge pull request #458 from matzipan/patch-2
Browse files Browse the repository at this point in the history
Use SRC_LOCAL_PATH as single source of truth
  • Loading branch information
astrogeco committed Mar 18, 2020
2 parents d6d944c + 08160ac commit 7a3e8c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/global_functions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function(generate_config_includefile DESTFILE SUFFIX)
if (INCL_INDX LESS 0)
list(APPEND INCL_LIST "${SRC_LOCAL_PATH}")
if (EXISTS "${SRC_LOCAL_PATH}")
file(TO_NATIVE_PATH "${MISSION_DEFS}/${SRC}_${SUFFIX}" SRC_NATIVE)
file(TO_NATIVE_PATH "${SRC_LOCAL_PATH}" SRC_NATIVE)
set(DEST_CONTENTSTR "${DEST_CONTENTSTR}#include \"${SRC_NATIVE}\"\n")
else()
set(DEST_CONTENTSTR "${DEST_CONTENTSTR}/* ${SRC_LOCAL_PATH} does not exist */\n")
Expand Down

0 comments on commit 7a3e8c3

Please sign in to comment.