about summary refs log tree commit diff
path: root/CMake/Googletest/CMakeLists.txt.in
diff options
context:
space:
mode:
Diffstat (limited to 'CMake/Googletest/CMakeLists.txt.in')
-rw-r--r--CMake/Googletest/CMakeLists.txt.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/CMake/Googletest/CMakeLists.txt.in b/CMake/Googletest/CMakeLists.txt.in
new file mode 100644
index 000000000000..d60a33e9ac6a
--- /dev/null
+++ b/CMake/Googletest/CMakeLists.txt.in
@@ -0,0 +1,15 @@
+cmake_minimum_required(VERSION 2.8.2)
+
+project(googletest-download NONE)
+
+include(ExternalProject)
+ExternalProject_Add(googletest
+  GIT_REPOSITORY    https://github.com/google/googletest.git
+  GIT_TAG           master
+  SOURCE_DIR        "${CMAKE_BINARY_DIR}/googletest-src"
+  BINARY_DIR        "${CMAKE_BINARY_DIR}/googletest-build"
+  CONFIGURE_COMMAND ""
+  BUILD_COMMAND     ""
+  INSTALL_COMMAND   ""
+  TEST_COMMAND      ""
+)
\ No newline at end of file