From 5a42fdd3e6776ebbe464174620f37be781a2bff1 Mon Sep 17 00:00:00 2001 From: Marcin Junczys-Dowmunt Date: Sun, 16 Sep 2018 09:50:53 -0700 Subject: [PATCH] checkout examples automatically --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index fb5c79f6..c9e36dc1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -199,3 +199,6 @@ if(DOXYGEN_FOUND) COMMENT "Generating API documentation with Doxygen" VERBATIM ) endif(DOXYGEN_FOUND) + +execute_process(COMMAND git submodule update --init --recursive --no-fetch + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) \ No newline at end of file