git cmake module is required

This commit is contained in:
Yuichi Nishiwaki 2014-03-26 14:08:55 +09:00
parent 2d25594592
commit 46ac5faa97
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")
# ----
# git submodule update --init
find_package(Git)
find_package(Git REQUIRED)
execute_process(
COMMAND ${GIT_EXECUTABLE} submodule update --init
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}