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 09d077e commit 61ef07bCopy full SHA for 61ef07b
src/torchcodec/_core/CMakeLists.txt
@@ -71,21 +71,11 @@ function(make_torchcodec_sublibrary
71
)
72
endif()
73
74
- # For the core library, use PRIVATE to prevent FFmpeg dependencies from leaking
75
- # For other libraries, use PUBLIC so they can properly link to their dependencies
76
- if(${library_name} MATCHES ".*_core[0-9]+$")
77
- target_link_libraries(
78
- ${library_name}
79
- PRIVATE
80
- ${library_dependencies}
81
- )
82
- else()
83
84
85
- PUBLIC
86
87
88
- endif()
+ target_link_libraries(
+ ${library_name}
+ PUBLIC
+ ${library_dependencies}
+ )
89
90
endfunction()
91
0 commit comments