We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6b20e6 commit 5f73ad2Copy full SHA for 5f73ad2
backends/cuda/CMakeLists.txt
@@ -58,7 +58,9 @@ else()
58
endif()
59
60
# Link against ExecuTorch core libraries
61
-target_link_libraries(cuda_tensor_maker PUBLIC executorch ${CMAKE_DL_LIBS})
+target_link_libraries(
62
+ cuda_tensor_maker PRIVATE executorch_core ${CMAKE_DL_LIBS}
63
+)
64
executorch_target_link_options_shared_lib(cuda_tensor_maker)
65
66
install(
@@ -84,7 +86,7 @@ target_compile_options(
84
86
)
85
87
88
-target_link_libraries(cuda_platform PUBLIC executorch ${CMAKE_DL_LIBS})
89
+target_link_libraries(cuda_platform PRIVATE executorch_core ${CMAKE_DL_LIBS})
90
91
92
TARGETS cuda_platform
0 commit comments