diff --git a/velox/experimental/breeze/cmake/cuda.cmake b/velox/experimental/breeze/cmake/cuda.cmake index 9728deacd21d2..732a8a23aef24 100644 --- a/velox/experimental/breeze/cmake/cuda.cmake +++ b/velox/experimental/breeze/cmake/cuda.cmake @@ -96,7 +96,7 @@ function(breeze_add_cuda_test target source) OUTPUT ${target} COMMAND ${NVCC_EXECUTABLE} -o ${target} ${target}.o ${arg_LIBS} - $/libgtest.a + $/libgtest.a $/libtest_main.a $<$:$/libperfetto.a> ${ARCH_LINK_FLAGS} diff --git a/velox/experimental/breeze/cmake/hip.cmake b/velox/experimental/breeze/cmake/hip.cmake index f31e63b86e03e..f1462577138ce 100644 --- a/velox/experimental/breeze/cmake/hip.cmake +++ b/velox/experimental/breeze/cmake/hip.cmake @@ -39,7 +39,7 @@ function(breeze_add_hip_test target source) OUTPUT ${target} COMMAND ${HIPCC_EXECUTABLE} -o ${target} ${target}.o - $/libgtest.a + $/libgtest.a $/libtest_main.a $<$:$/libperfetto.a> ${ARCH_LINK_FLAGS} diff --git a/velox/experimental/breeze/cmake/sycl.cmake b/velox/experimental/breeze/cmake/sycl.cmake index fb5b55588a85f..51c26acfeeb29 100644 --- a/velox/experimental/breeze/cmake/sycl.cmake +++ b/velox/experimental/breeze/cmake/sycl.cmake @@ -40,7 +40,7 @@ function(breeze_add_sycl_test target source) OUTPUT ${target} COMMAND ${SYCLCC_EXECUTABLE} -o ${target} ${target}.o - $/libgtest.a + $/libgtest.a $/libtest_main.a ${CMAKE_THREAD_LIBS_INIT} ${ARCH_LINK_FLAGS} $<$:$/libperfetto.a>