This commit is contained in:
Hongze Cheng 2021-09-23 09:48:51 +08:00
parent 46f33fcbd2
commit 22e1dc5ce9
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ set(DEPS_TMP_FILE "${CMAKE_BINARY_DIR}/deps_tmp_CMakeLists.txt.in")
configure_file("${CMAKE_SUPPORT_DIR}/deps_CMakeLists.txt.in" ${DEPS_TMP_FILE})
## googletest
option(BUILD_TEST "If build unit tests using googletest" OFF)
option(BUILD_TEST "If build unit tests using googletest" ON)
if(${BUILD_TEST})
cat("${CMAKE_SUPPORT_DIR}/gtest_CMakeLists.txt.in" ${DEPS_TMP_FILE})

View File

@ -1,8 +1,8 @@
# googletest
ExternalProject_Add(googletest
GIT_REPOSITORY git@github.com:google/googletest.git
GIT_TAG master
GIT_REPOSITORY git@github.com:taosdata/googletest.git
GIT_TAG release-1.11.0
SOURCE_DIR "${CMAKE_SOURCE_DIR}/deps/googletest"
BINARY_DIR "${CMAKE_BINARY_DIR}/googletest-build"
CONFIGURE_COMMAND ""