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}