File tree 2 files changed +22
-0
lines changed
exts/cesium.omniverse/config
2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -597,6 +597,22 @@ install(
597
597
COMPONENT library
598
598
EXCLUDE_FROM_ALL )
599
599
600
+ # Nothing links against nvrtc-builtins but if we don't include it we get a runtime crash.
601
+ # Unfortunately this means we have to bypass CMake's dependency system and install it manually here.
602
+ if (WIN32 )
603
+ install (
604
+ FILES "${PROJECT_SOURCE_DIR} /extern/nvidia/_build/target-deps/cuda/cuda/bin/nvrtc-builtins64_118.dll"
605
+ DESTINATION "${KIT_EXTENSION_BIN_PATH} "
606
+ COMPONENT install )
607
+ else ()
608
+ install (
609
+ FILES "${PROJECT_SOURCE_DIR} /extern/nvidia/_build/target-deps/cuda/cuda/lib64/libnvrtc-builtins.so"
610
+ "${PROJECT_SOURCE_DIR} /extern/nvidia/_build/target-deps/cuda/cuda/lib64/libnvrtc-builtins.so.11.8"
611
+ "${PROJECT_SOURCE_DIR} /extern/nvidia/_build/target-deps/cuda/cuda/lib64/libnvrtc-builtins.so.11.8.89"
612
+ DESTINATION "${KIT_EXTENSION_BIN_PATH} "
613
+ COMPONENT install )
614
+ endif ()
615
+
600
616
install (
601
617
TARGETS CesiumOmniversePythonBindings
602
618
ARCHIVE DESTINATION ${KIT_EXTENSION_BINDINGS_PATH} COMPONENT install
Original file line number Diff line number Diff line change @@ -52,6 +52,12 @@ archiveDirs = ["vendor"]
52
52
[[native .plugin ]]
53
53
path = " bin/cesium.omniverse.plugin"
54
54
55
+ [[native .library ]]
56
+ "filter:platform" ." windows-x86_64" ." path" = " bin/${lib_prefix}nvrtc-builtins64_118${lib_ext}"
57
+
58
+ [[native .library ]]
59
+ "filter:platform" ." linux-x86_64" ." path" = " bin/${lib_prefix}nvrtc-builtins${lib_ext}"
60
+
55
61
[settings ]
56
62
exts."cesium.omniverse".defaultAccessToken = " "
57
63
persistent.exts."cesium.omniverse".userAccessToken = " "
You can’t perform that action at this time.
0 commit comments