Bläddra i källkod

* Fixed bug: submodules were added with abolute path

master
bergmann 6 år sedan
förälder
incheckning
87f3b42bc3
1 ändrade filer med 3 tillägg och 3 borttagningar
  1. +3
    -3
      tool

+ 3
- 3
tool Visa fil

@@ -112,7 +112,7 @@ function CreateGroup()
# Add cmake modules
Log " Add git submodule for CMake modules"
if [[ -n "$CMakeModules" ]]; then
git -C $dir submodule add $CMakeModulesForced "$CMakeModules" "$dir/cmake/modules" \
git -C $dir submodule add $CMakeModulesForced "$CMakeModules" "cmake/modules" \
|| Panic "Git submodule add failed!"
fi
fi
@@ -162,7 +162,7 @@ function CreateLibrary()
# Add cmake modules
Log " Add git submodule for CMake modules"
if [[ -n "$CMakeModules" ]]; then
git -C $dir submodule add $CMakeModulesForced "$CMakeModules" "$dir/cmake/modules" \
git -C $dir submodule add $CMakeModulesForced "$CMakeModules" "cmake/modules" \
|| Panic "Git submodule add failed!"
fi
fi
@@ -207,7 +207,7 @@ function CreateExecutable()
# Add cmake modules
Log " Add git submodule for CMake modules"
if [[ -n "$CMakeModules" ]]; then
git -C $dir submodule add $CMakeModulesForced "$CMakeModules" "$dir/cmake/modules" \
git -C $dir submodule add $CMakeModulesForced "$CMakeModules" "cmake/modules" \
|| Panic "Git submodule add failed!"
fi
fi


Laddar…
Avbryt
Spara