diff --git a/cmake/Modules/winconf.cmake b/cmake/Modules/winconf.cmake index 199f7fe94..7dc7907bd 100644 --- a/cmake/Modules/winconf.cmake +++ b/cmake/Modules/winconf.cmake @@ -1,5 +1,7 @@ # Settings for compiling qBittorrent on Windows +list(APPEND CMAKE_LIBRARY_PATH "$ENV{LIB}") + # We want to link with static version of # libtorrent set(LibtorrentRasterbar_USE_STATIC_LIBS True)