Skip to content

Commit

Permalink
build: fix support for system gtest in breeze
Browse files Browse the repository at this point in the history
  • Loading branch information
David Reveman committed Nov 25, 2024
1 parent 827f116 commit 747283a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion velox/experimental/breeze/cmake/cuda.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function(breeze_add_cuda_test target source)
OUTPUT ${target}
COMMAND
${NVCC_EXECUTABLE} -o ${target} ${target}.o ${arg_LIBS}
$<TARGET_FILE_DIR:gtest>/libgtest.a
$<TARGET_FILE_DIR:GTest::gtest>/libgtest.a
$<TARGET_FILE_DIR:test_main>/libtest_main.a
$<$<BOOL:${BUILD_TRACING}>:$<TARGET_FILE_DIR:perfetto>/libperfetto.a>
${ARCH_LINK_FLAGS}
Expand Down
2 changes: 1 addition & 1 deletion velox/experimental/breeze/cmake/hip.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function(breeze_add_hip_test target source)
OUTPUT ${target}
COMMAND
${HIPCC_EXECUTABLE} -o ${target} ${target}.o
$<TARGET_FILE_DIR:gtest>/libgtest.a
$<TARGET_FILE_DIR:GTest::gtest>/libgtest.a
$<TARGET_FILE_DIR:test_main>/libtest_main.a
$<$<BOOL:${BUILD_TRACING}>:$<TARGET_FILE_DIR:perfetto>/libperfetto.a>
${ARCH_LINK_FLAGS}
Expand Down
2 changes: 1 addition & 1 deletion velox/experimental/breeze/cmake/sycl.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function(breeze_add_sycl_test target source)
OUTPUT ${target}
COMMAND
${SYCLCC_EXECUTABLE} -o ${target} ${target}.o
$<TARGET_FILE_DIR:gtest>/libgtest.a
$<TARGET_FILE_DIR:GTest::gtest>/libgtest.a
$<TARGET_FILE_DIR:test_main>/libtest_main.a ${CMAKE_THREAD_LIBS_INIT}
${ARCH_LINK_FLAGS}
$<$<BOOL:${BUILD_TRACING}>:$<TARGET_FILE_DIR:perfetto>/libperfetto.a>
Expand Down

0 comments on commit 747283a

Please sign in to comment.