Skip to content

Commit

Permalink
Yes
Browse files Browse the repository at this point in the history
  • Loading branch information
Black-Speedy committed Jan 11, 2024
1 parent 59f8370 commit e8366fc
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions WebShare-Connect/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,24 @@ target_link_libraries(WebShare-Connect PRIVATE
LibNice::LibNice
)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")

find_package(LibNice REQUIRED)
# Link libraries to sender and receiver targets
target_link_libraries(sender PRIVATE czmq libzmq sha512 OpenSSL::SSL OpenSSL::Crypto)
target_link_libraries(receiver PRIVATE czmq)
target_link_libraries(sender PRIVATE
czmq
libzmq
sha512
OpenSSL::SSL
OpenSSL::Crypto
LibNice::LibNice)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")

find_package(LibNice REQUIRED)
target_link_libraries(receiver PRIVATE
czmq
LibNice::LibNice)

target_link_libraries(sha512 PRIVATE OpenSSL::SSL OpenSSL::Crypto)

Expand Down

0 comments on commit e8366fc

Please sign in to comment.