From 46ac5faa97a0d8dbe8ce0da733c0052c6fde0b0f Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Wed, 26 Mar 2014 14:08:55 +0900 Subject: [PATCH] git cmake module is required --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index eeee01af..802af85e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}