Browse Source

cmake: use environment variable LIB on Windows

Append its value to CMAKE_LIBRARY_PATH to simplify life of on Windows.
adaptive-webui-19844
Eugene Shalygin 8 years ago
parent
commit
98415917c6
  1. 2
      cmake/Modules/winconf.cmake

2
cmake/Modules/winconf.cmake

@ -1,5 +1,7 @@
# Settings for compiling qBittorrent on Windows # Settings for compiling qBittorrent on Windows
list(APPEND CMAKE_LIBRARY_PATH "$ENV{LIB}")
# We want to link with static version of # We want to link with static version of
# libtorrent # libtorrent
set(LibtorrentRasterbar_USE_STATIC_LIBS True) set(LibtorrentRasterbar_USE_STATIC_LIBS True)

Loading…
Cancel
Save