Skip to content

Commit

Permalink
set BUILD_BENCHMARKS=ON if BUILD_TESTS is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
NEUpanning committed Jul 23, 2024
1 parent 264ff2e commit 33c6e50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ find_package(JNI REQUIRED)
find_package(glog REQUIRED)

if(BUILD_TESTS)
set(BUILD_BENCHMARKS ON)
set(GLUTEN_GTEST_MIN_VERSION "1.13.0")
find_package(GTest ${GLUTEN_GTEST_MIN_VERSION} CONFIG)
if(NOT GTest_FOUND)
Expand Down

0 comments on commit 33c6e50

Please sign in to comment.