diff --git a/.github/workflows/linux-build.yml b/.github/workflows/linux-build.yml index b897a345f562..dbdcf3222656 100644 --- a/.github/workflows/linux-build.yml +++ b/.github/workflows/linux-build.yml @@ -59,6 +59,7 @@ jobs: env: CCACHE_DIR: "${{ github.workspace }}/.ccache" VELOX_DEPENDENCY_SOURCE: SYSTEM + GTest_SOURCE: BUNDLED simdjson_SOURCE: BUNDLED xsimd_SOURCE: BUNDLED CUDA_VERSION: "12.4" diff --git a/CMakeLists.txt b/CMakeLists.txt index 1dd401d3e147..064e78eab273 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -570,7 +570,7 @@ include_directories(SYSTEM velox/external) # these were previously vendored in third-party/ if(NOT VELOX_DISABLE_GOOGLETEST) - set(GTest_SOURCE AUTO) + set_source(GTest) resolve_dependency(GTest) set(VELOX_GTEST_INCUDE_DIR "${gtest_SOURCE_DIR}/googletest/include"