Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix GTest_SOURCE=BUNDLED not work (#11215)
Summary: ### Description I failed to build velox in ubuntu and clang-15, because I have gtest-1.11.0 installed (to successully build we need v1.13.0). When I try to set `-DGTest_SOURCE=BUNDLED` the cmake output shows that it does not work. ``` /data1/home/wujianchao/.cache/JetBrains/RemoteDev/dist/1729cdbf0ed8b_CLion-2024.2.2/bin/cmake/linux/x64/bin/cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=/usr/lib/llvm-15/bin/clang -DCMAKE_CXX_COMPILER=/usr/lib/llvm-15/bin/clang++ -DGTest_SOURCE=BUNDLED -DCMAKE_PREFIX_PATH=/data1/home/wujianchao/project/jd/velox/deps-install -G "Unix Makefiles" -S /data1/home/wujianchao/project/jd/velox -B /data1/home/wujianchao/project/jd/velox/cmake-build-debug .... -- Could NOT find double-conversion (missing: double-conversion_DIR) -- Found double-conversion: /usr/lib/x86_64-linux-gnu/libdouble-conversion.so (Required is at least version "3.1.5") -- Found GTest: /usr/local/lib/cmake/GTest/GTestConfig.cmake (found version "1.11.0") -- Using SYSTEM GTest ```` Pull Request resolved: #11215 Reviewed By: kagamiori Differential Revision: D64418147 Pulled By: kgpai fbshipit-source-id: 9c6fcc751730004eb4175e0f82b8ae335cb9d6ab
- Loading branch information