diff --git a/source/adapters/cuda/CMakeLists.txt b/source/adapters/cuda/CMakeLists.txt index 013bd9b4d9..ca27eaa422 100644 --- a/source/adapters/cuda/CMakeLists.txt +++ b/source/adapters/cuda/CMakeLists.txt @@ -98,6 +98,7 @@ if (UR_ENABLE_TRACING) endif() target_compile_definitions(${TARGET_NAME} PRIVATE XPTI_ENABLE_INSTRUMENTATION + XPTI_STATIC_LIBRARY ) target_include_directories(${TARGET_NAME} PUBLIC ${XPTI_INCLUDES}