Kaynağa Gözat

* Fixed bug: submodules were added with abolute path

master
bergmann 6 yıl önce
ebeveyn
işleme
87f3b42bc3
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. +3
    -3
      tool

+ 3
- 3
tool Dosyayı Görüntüle

@@ -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


Yükleniyor…
İptal
Kaydet