소스 검색

* Fixed bug: submodules were added with abolute path

master
bergmann 6 년 전
부모
커밋
87f3b42bc3
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. +3
    -3
      tool

+ 3
- 3
tool 파일 보기

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


불러오는 중...
취소
저장