Skip to content

Commit 43ede51

Browse files
authored
Merge pull request #546 from awslabs/fix-typo
Fix a typo: LIBWEBSOCKET -> LIBWEBSOCKETS
2 parents cb00f8e + 2751530 commit 43ede51

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

CMake/Dependencies/libkvsCommonLws-CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ include(ExternalProject)
66

77
ExternalProject_Add(libkvsCommonLws-download
88
GIT_REPOSITORY https://github.com/awslabs/amazon-kinesis-video-streams-producer-c.git
9-
GIT_TAG 270c0b6612cc553d458e316e835471c693f518bd
9+
GIT_TAG bb5c4a7ff913fc0f557a5decaa35f45f802e10d9
1010
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/build
1111
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${OPEN_SRC_INSTALL_PREFIX} -DBUILD_COMMON_LWS=ON -DBUILD_COMMON_CURL=OFF -DBUILD_DEPENDENCIES=FALSE -DOPEN_SRC_INSTALL_PREFIX=${OPEN_SRC_INSTALL_PREFIX}
1212
BUILD_ALWAYS TRUE

CMakeLists.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ else()
9393
endif()
9494

9595
if (WIN32)
96-
SET(LIBWEBSOCKET_LIBRARIES "websockets.lib")
96+
SET(LIBWEBSOCKETS_LIBRARIES "websockets.lib")
9797
else()
98-
pkg_check_modules(LIBWEBSOCKET REQUIRED libwebsockets)
98+
pkg_check_modules(LIBWEBSOCKETS REQUIRED libwebsockets)
9999
endif()
100100

101101
# usrsctp dont support pkgconfig yet
@@ -105,10 +105,10 @@ find_library(
105105
PATHS ${OPEN_SRC_INSTALL_PREFIX}/lib)
106106

107107
set(OPEN_SRC_INCLUDE_DIRS ${LIBSRTP_INCLUDE_DIRS} ${OPENSSL_INCLUDE_DIR}
108-
${CURL_INCLUDE_DIRS} ${LIBWEBSOCKET_INCLUDE_DIRS})
108+
${CURL_INCLUDE_DIRS} ${LIBWEBSOCKETS_INCLUDE_DIRS})
109109

110110
link_directories(${LIBSRTP_LIBRARY_DIRS})
111-
link_directories(${LIBWEBSOCKET_LIBRARY_DIRS})
111+
link_directories(${LIBWEBSOCKETS_LIBRARY_DIRS})
112112
link_directories(${OPEN_SRC_INSTALL_PREFIX}/lib)
113113

114114
pkg_check_modules(GST gstreamer-1.0)
@@ -221,7 +221,7 @@ target_link_libraries(
221221
kvsWebrtcSignalingClient
222222
PRIVATE kvspicUtils
223223
kvspicState
224-
${LIBWEBSOCKET_LIBRARIES}
224+
${LIBWEBSOCKETS_LIBRARIES}
225225
${EXTRA_DEPS}
226226
${OPENSSL_SSL_LIBRARY}
227227
${OPENSSL_CRYPTO_LIBRARY}

0 commit comments

Comments
 (0)