diff --git a/CMakeLists.txt b/CMakeLists.txt index 4df7a61c..eeee01af 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,6 +8,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/") # ---- # git submodule update --init +find_package(Git) execute_process( COMMAND ${GIT_EXECUTABLE} submodule update --init WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}