Skip to content

Commit

Permalink
Fix top level CMakeLists generation
Browse files Browse the repository at this point in the history
  • Loading branch information
methylDragon committed Apr 28, 2022
1 parent 484e066 commit b688e3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jenkins-scripts/tools/header_migration_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,8 @@ for ((i = 0; i < "${#LIBRARIES[@]}"; i++)); do
echo "install(DIRECTORY ignition DESTINATION \${IGN_INCLUDE_INSTALL_DIR_FULL})" >> ./include/CMakeLists.txt

# Edit top level CMakeLists
sed -i 's@ign_configure_project(\(.*\))@ign_configure_project(\n REPLACE_IGNITION_INCLUDE_PATH gz/utils\n \1)@g' CMakeLists.txt
LIB_NAME_ARR=(${LIB/-/ })
sed -i "s@ign_configure_project(\(.*\))@ign_configure_project(\n REPLACE_IGNITION_INCLUDE_PATH gz/${LIB_NAME_ARR[1]}\n \1)@g" CMakeLists.txt

reviewConfirm
gitCommit -a ${IGN_ORG} "Migrate CMake files"
Expand Down

0 comments on commit b688e3a

Please sign in to comment.