message: minor linker fix
diff: @@ -160,5 +160,8 @@ if (ENOKI_AUTODIFF)
  add_test(autodiff_native_test autodiff_native)
  set_tests_properties(autodiff_native_test PROPERTIES LABELS "native")
  set_target_properties(autodiff_native PROPERTIES FOLDER autodiff)
  - target_link_libraries(autodiff_native PRIVATE enoki-autodiff enoki-cuda cuda)
  + target_link_libraries(autodiff_native PRIVATE enoki-autodiff)
  + if (ENOKI_CUDA)
  + target_link_libraries(autodiff_native PRIVATE enoki-cuda cuda)
  + endif()
  endif()
  