From 98415917c602db6d7f4d3583182d0e05d4effa3a Mon Sep 17 00:00:00 2001 From: Eugene Shalygin Date: Thu, 27 Apr 2017 14:34:30 +0200 Subject: [PATCH] cmake: use environment variable LIB on Windows Append its value to CMAKE_LIBRARY_PATH to simplify life of on Windows. --- cmake/Modules/winconf.cmake | 2 ++ 1 file changed, 2 insertions(+) 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)