forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[libsrt] Fix feature tool (microsoft#41074)
Co-authored-by: Monica <[email protected]>
- Loading branch information
1 parent
d9af3f5
commit ede6765
Showing
5 changed files
with
38 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 7e8062a..2277e33 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -1300,11 +1300,13 @@ if (ENABLE_APPS) | ||
|
||
# Applications | ||
|
||
- srt_add_application(srt-live-transmit ${VIRTUAL_srtsupport}) | ||
+ srt_add_application(srt-live-transmit ${VIRTUAL_srtsupport} ${VIRTUAL_srt}) | ||
+ target_link_libraries(srt-live-transmit ${SSL_LIBRARIES}) | ||
if (DEFINED EXTRA_stransmit) | ||
set_target_properties(srt-live-transmit PROPERTIES COMPILE_FLAGS "${EXTRA_stransmit}") | ||
endif() | ||
- srt_add_application(srt-file-transmit ${VIRTUAL_srtsupport}) | ||
+ srt_add_application(srt-file-transmit ${VIRTUAL_srtsupport} ${VIRTUAL_srt}) | ||
+ target_link_libraries(srt-file-transmit ${SSL_LIBRARIES}) | ||
|
||
if (MINGW) | ||
# FIXME: with MINGW, it fails to build apps that require C++11 | ||
@@ -1313,7 +1315,8 @@ if (ENABLE_APPS) | ||
else() | ||
# srt-multiplex temporarily blocked | ||
#srt_add_application(srt-multiplex ${VIRTUAL_srtsupport}) | ||
- srt_add_application(srt-tunnel ${VIRTUAL_srtsupport}) | ||
+ srt_add_application(srt-tunnel ${VIRTUAL_srtsupport} ${VIRTUAL_srt}) | ||
+ target_link_libraries(srt-tunnel ${SSL_LIBRARIES}) | ||
target_compile_definitions(srt-tunnel PUBLIC -DSRT_ENABLE_VERBOSE_LOCK) | ||
endif() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters