Skip to content

Commit 98188ff

Browse files
authored
Build fixes (#2009)
* Build fixes * more places to remove
1 parent cae3c67 commit 98188ff

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Diff for: CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ if(COMPILER_WARNINGS)
455455
target_compile_options(kvsWebrtcSignalingClient PUBLIC -Wall -Werror -pedantic -Wextra -Wno-unknown-warning-option)
456456
endif()
457457

458-
install(TARGETS kvsWebrtcClient kvsWebrtcSignalingClient
458+
install(TARGETS kvsWebrtcClient kvsWebrtcSignalingClient kvsWebRtcThreadpool
459459
LIBRARY DESTINATION lib
460460
ARCHIVE DESTINATION lib
461461
)

Diff for: samples/CMakeLists.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -61,18 +61,18 @@ add_executable(
6161
kvsWebrtcClientMaster
6262
Common.c
6363
kvsWebRTCClientMaster.c)
64-
target_link_libraries(kvsWebrtcClientMaster kvsWebrtcClient kvsWebrtcSignalingClient ${EXTRA_DEPS} kvsCommonLws kvspicUtils websockets kvssdp kvsstun kvsrtp)
64+
target_link_libraries(kvsWebrtcClientMaster kvsWebrtcClient kvsWebrtcSignalingClient ${EXTRA_DEPS} kvsCommonLws kvspicUtils websockets)
6565

6666
add_executable(
6767
kvsWebrtcClientViewer
6868
Common.c
6969
kvsWebRTCClientViewer.c)
70-
target_link_libraries(kvsWebrtcClientViewer kvsWebrtcClient kvsWebrtcSignalingClient ${EXTRA_DEPS} kvsCommonLws kvspicUtils websockets kvssdp kvsstun kvsrtp)
70+
target_link_libraries(kvsWebrtcClientViewer kvsWebrtcClient kvsWebrtcSignalingClient ${EXTRA_DEPS} kvsCommonLws kvspicUtils websockets)
7171

7272
add_executable(
7373
discoverNatBehavior
7474
discoverNatBehavior.c)
75-
target_link_libraries(discoverNatBehavior kvsWebrtcClient ${EXTRA_DEPS} kvssdp kvsstun kvsrtp)
75+
target_link_libraries(discoverNatBehavior kvsWebrtcClient ${EXTRA_DEPS})
7676

7777
if(GST_FOUND)
7878
add_executable(
@@ -81,7 +81,7 @@ if(GST_FOUND)
8181
GstAudioVideoReceiver.c
8282
kvsWebRTCClientMasterGstSample.c
8383
)
84-
target_link_libraries(kvsWebrtcClientMasterGstSample kvsWebrtcClient kvsWebrtcSignalingClient ${EXTRA_DEPS} ${GST_SAMPLE_LIBRARIES} kvsCommonLws kvspicUtils websockets kvssdp kvsstun kvsrtp)
84+
target_link_libraries(kvsWebrtcClientMasterGstSample kvsWebrtcClient kvsWebrtcSignalingClient ${EXTRA_DEPS} ${GST_SAMPLE_LIBRARIES} kvsCommonLws kvspicUtils)
8585

8686
install(TARGETS kvsWebrtcClientMasterGstSample
8787
RUNTIME DESTINATION bin
@@ -93,7 +93,7 @@ if(GST_FOUND)
9393
GstAudioVideoReceiver.c
9494
kvsWebRTCClientViewerGstSample.c
9595
)
96-
target_link_libraries(kvsWebrtcClientViewerGstSample kvsWebrtcClient kvsWebrtcSignalingClient ${EXTRA_DEPS} ${GST_SAMPLE_LIBRARIES} kvsCommonLws kvspicUtils websockets kvssdp kvsrtp)
96+
target_link_libraries(kvsWebrtcClientViewerGstSample kvsWebrtcClient kvsWebrtcSignalingClient ${EXTRA_DEPS} ${GST_SAMPLE_LIBRARIES} kvsCommonLws kvspicUtils)
9797

9898
install(TARGETS kvsWebrtcClientViewerGstSample
9999
RUNTIME DESTINATION bin

0 commit comments

Comments
 (0)