Skip to content

Commit a42beaa

Browse files
David Revemanfacebook-github-bot
David Reveman
authored andcommitted
build: Fix breeze build (#12540)
Summary: gtest_SOURCE_DIR is now googletest_SOURCE_DIR. Pull Request resolved: #12540 Reviewed By: kevinwilfong Differential Revision: D70630457 Pulled By: Yuhta fbshipit-source-id: 631d5abb15e02ffcaff34fbbcf7fee6c7768e486
1 parent fd49292 commit a42beaa

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

velox/experimental/breeze/cmake/cuda.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function(breeze_add_cuda_test target source)
8282
""
8383
"FLAGS;LIBS;DEPENDS"
8484
${ARGN})
85-
list(APPEND arg_FLAGS -I${gtest_SOURCE_DIR}/googletest/include)
85+
list(APPEND arg_FLAGS -I${googletest_SOURCE_DIR}/googletest/include)
8686
list(APPEND arg_FLAGS -I${CMAKE_SOURCE_DIR})
8787
list(APPEND arg_FLAGS -I${CMAKE_BINARY_DIR})
8888
breeze_add_cuda_object(

velox/experimental/breeze/cmake/hip.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function(breeze_add_hip_test target source)
2929
OUTPUT ${target}.o
3030
COMMAND
3131
${HIPCC_EXECUTABLE} ${HIP_HIPCC_FLAGS} ${NDEBUG_DEFINE} -DPLATFORM_HIP
32-
-I${CMAKE_SOURCE_DIR} -I${gtest_SOURCE_DIR}/googletest/include
32+
-I${CMAKE_SOURCE_DIR} -I${googletest_SOURCE_DIR}/googletest/include
3333
-I${CMAKE_BINARY_DIR} ${CMAKE_CXX_FLAGS} ${COMPILER_WARN_FLAGS}
3434
${OPT_FLAGS} -std=c++17 -c ${source} -MD -MF ${target}.o.d -o ${target}.o
3535
DEPFILE ${target}.o.d

velox/experimental/breeze/cmake/sycl.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function(breeze_add_sycl_test target source)
2929
OUTPUT ${target}.o
3030
COMMAND
3131
${SYCLCC_EXECUTABLE} ${NDEBUG_DEFINE} -DPLATFORM_SYCL
32-
-I${CMAKE_SOURCE_DIR} -I${gtest_SOURCE_DIR}/googletest/include
32+
-I${CMAKE_SOURCE_DIR} -I${googletest_SOURCE_DIR}/googletest/include
3333
-I${CMAKE_BINARY_DIR} ${CMAKE_CXX_FLAGS} ${OPT_FLAGS}
3434
${SANITIZE_COMPILE_FLAGS} -std=c++17 -c ${source} -MD -MF ${target}.o.d -o
3535
${target}.o

0 commit comments

Comments
 (0)