File tree 1 file changed +3
-9
lines changed
1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -308,13 +308,7 @@ else()
308
308
add_library (Usrsctp::Usrsctp ALIAS usrsctp)
309
309
310
310
if (INSTALL_DEPS_LIBS)
311
- # usrsctp lacks an export set
312
- install (TARGETS usrsctp EXPORT UsrsctpTargets)
313
- install (EXPORT UsrsctpTargets
314
- FILE UsrsctpTargets.cmake
315
- NAMESPACE Usrsctp::
316
- DESTINATION ${CMAKE_INSTALL_LIBDIR} /cmake/usrsctp
317
- EXCLUDE_FROM_ALL )
311
+ install (TARGETS usrsctp EXPORT LibDataChannelTargets)
318
312
# Fix directories
319
313
set_target_properties (usrsctp PROPERTIES INTERFACE_INCLUDE_DIRECTORIES "" )
320
314
target_include_directories (usrsctp INTERFACE
@@ -381,7 +375,7 @@ else()
381
375
if (NOT TARGET srtp2)
382
376
add_subdirectory (deps/libsrtp EXCLUDE_FROM_ALL )
383
377
if (INSTALL_DEPS_LIBS)
384
- install (TARGETS srtp2)
378
+ install (TARGETS srtp2 EXPORT LibDataChannelTargets )
385
379
endif ()
386
380
endif ()
387
381
target_compile_definitions (datachannel PRIVATE RTC_SYSTEM_SRTP=0)
@@ -461,7 +455,7 @@ else()
461
455
else ()
462
456
add_subdirectory (deps/libjuice EXCLUDE_FROM_ALL )
463
457
if (INSTALL_DEPS_LIBS)
464
- install (TARGETS juice)
458
+ install (TARGETS juice EXPORT LibDataChannelTargets )
465
459
endif ()
466
460
target_compile_definitions (datachannel PRIVATE RTC_SYSTEM_JUICE=0)
467
461
target_compile_definitions (datachannel-static PRIVATE RTC_SYSTEM_JUICE=0)
You can’t perform that action at this time.
0 commit comments