We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30f104c commit 0c1e768Copy full SHA for 0c1e768
CMakeLists.txt
@@ -779,8 +779,9 @@ include(CheckCXXCompilerFlag)
779
780
add_subdirectory(bindings)
781
782
-# TODO: Option
+if(webtorrent)
783
target_link_libraries(torrent-rasterbar PRIVATE LibDataChannel::LibDataChannelStatic nlohmann_json::nlohmann_json)
784
+endif()
785
786
install(TARGETS torrent-rasterbar EXPORT LibtorrentRasterbarTargets
787
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
0 commit comments