diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 2811711d58c..7999ada9282 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -925,6 +925,11 @@ if(CUDF_BUILD_STREAMS_TEST_UTIL) add_library( ${_tgt} SHARED src/utilities/stacktrace.cpp tests/utilities/identify_stream_usage.cpp ) + if(CUDF_USE_PER_THREAD_DEFAULT_STREAM) + target_compile_definitions( + ${_tgt} PUBLIC CUDA_API_PER_THREAD_DEFAULT_STREAM CUDF_USE_PER_THREAD_DEFAULT_STREAM + ) + endif() set_target_properties( ${_tgt}