diff --git a/lib/cmake/libcudacxx/libcudacxx-config.cmake b/lib/cmake/libcudacxx/libcudacxx-config.cmake index 824a4976b19..3945f726af0 100644 --- a/lib/cmake/libcudacxx/libcudacxx-config.cmake +++ b/lib/cmake/libcudacxx/libcudacxx-config.cmake @@ -39,6 +39,7 @@ set(_libcudacxx_INCLUDE_DIR "${_libcudacxx_VERSION_INCLUDE_DIR}" ) unset(_libcudacxx_VERSION_INCLUDE_DIR CACHE) # Clear tmp variable from cache target_include_directories(_libcudacxx_libcudacxx INTERFACE "${_libcudacxx_INCLUDE_DIR}") +target_compile_definitions(_libcudacxx_libcudacxx INTERFACE $<$:CCCL_ENABLE_ASSERTIONS>) # # Standardize version info