diff options
author | Daya S Khudia <dskhudia@fb.com> | 2018-10-13 01:48:13 +0300 |
---|---|---|
committer | Daya S Khudia <dskhudia@fb.com> | 2018-10-31 00:56:00 +0300 |
commit | e85b5a12254fa47ca6b56236489253a68fd32104 (patch) | |
tree | d62190c53913c65e136fb26dc89bfab38144e2c3 /cmake/modules/DownloadGTEST.cmake |
Initial commit
Diffstat (limited to 'cmake/modules/DownloadGTEST.cmake')
-rw-r--r-- | cmake/modules/DownloadGTEST.cmake | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cmake/modules/DownloadGTEST.cmake b/cmake/modules/DownloadGTEST.cmake new file mode 100644 index 0000000..b0a56f8 --- /dev/null +++ b/cmake/modules/DownloadGTEST.cmake @@ -0,0 +1,16 @@ +cmake_minimum_required(VERSION 3.7 FATAL_ERROR) + +project(googletest-download NONE) + +include(ExternalProject) + +ExternalProject_Add(googletest + GIT_REPOSITORY https://github.com/google/googletest + GIT_TAG 0fc5466dbb9e623029b1ada539717d10bd45e99e + SOURCE_DIR "${FBGEMM_THIRDPARTY_DIR}/googletest" + BINARY_DIR "${FBGEMM_BINARY_DIR}/googletest" + CONFIGURE_COMMAND "" + BUILD_COMMAND "" + INSTALL_COMMAND "" + TEST_COMMAND "" +) |