Skip to content

Commit

Permalink
Fix a typo: LIBWEBSOCKET -> LIBWEBSOCKETS
Browse files Browse the repository at this point in the history
* Also update Producer C since it also contains the same typo
  • Loading branch information
lherman-cs committed Jun 12, 2020
1 parent f0ff7e6 commit 2751530
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CMake/Dependencies/libkvsCommonLws-CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ include(ExternalProject)

ExternalProject_Add(libkvsCommonLws-download
GIT_REPOSITORY https://github.com/awslabs/amazon-kinesis-video-streams-producer-c.git
GIT_TAG 270c0b6612cc553d458e316e835471c693f518bd
GIT_TAG bb5c4a7ff913fc0f557a5decaa35f45f802e10d9
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/build
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}
BUILD_ALWAYS TRUE
Expand Down
10 changes: 5 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ else()
endif()

if (WIN32)
SET(LIBWEBSOCKET_LIBRARIES "websockets.lib")
SET(LIBWEBSOCKETS_LIBRARIES "websockets.lib")
else()
pkg_check_modules(LIBWEBSOCKET REQUIRED libwebsockets)
pkg_check_modules(LIBWEBSOCKETS REQUIRED libwebsockets)
endif()

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

set(OPEN_SRC_INCLUDE_DIRS ${LIBSRTP_INCLUDE_DIRS} ${OPENSSL_INCLUDE_DIR}
${CURL_INCLUDE_DIRS} ${LIBWEBSOCKET_INCLUDE_DIRS})
${CURL_INCLUDE_DIRS} ${LIBWEBSOCKETS_INCLUDE_DIRS})

link_directories(${LIBSRTP_LIBRARY_DIRS})
link_directories(${LIBWEBSOCKET_LIBRARY_DIRS})
link_directories(${LIBWEBSOCKETS_LIBRARY_DIRS})
link_directories(${OPEN_SRC_INSTALL_PREFIX}/lib)

pkg_check_modules(GST gstreamer-1.0)
Expand Down Expand Up @@ -221,7 +221,7 @@ target_link_libraries(
kvsWebrtcSignalingClient
PRIVATE kvspicUtils
kvspicState
${LIBWEBSOCKET_LIBRARIES}
${LIBWEBSOCKETS_LIBRARIES}
${EXTRA_DEPS}
${OPENSSL_SSL_LIBRARY}
${OPENSSL_CRYPTO_LIBRARY}
Expand Down

0 comments on commit 2751530

Please sign in to comment.