mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-03-13 05:41:17 +00:00
Merge pull request #11462 from jagannatharjun/cmake
Fix CMake Windows compilation
This commit is contained in:
commit
e69df60f11
@ -6,4 +6,6 @@ list(APPEND LibtorrentRasterbar_CUSTOM_DEFINITIONS
|
|||||||
-D_FILE_OFFSET_BITS=64
|
-D_FILE_OFFSET_BITS=64
|
||||||
-D__USE_W32_SOCKETS)
|
-D__USE_W32_SOCKETS)
|
||||||
|
|
||||||
link_libraries(advapi32 iphlpapi ole32 powrprof shell32 user32 wsock32 ws2_32)
|
# libraries from winconf.pri
|
||||||
|
link_libraries(advapi32 iphlpapi ole32 shell32 user32 wsock32 ws2_32)
|
||||||
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
include(MacroConfigureMSVCRuntime)
|
include(MacroConfigureMSVCRuntime)
|
||||||
set(MSVC_RUNTIME "dynamic")
|
set(MSVC_RUNTIME "dynamic")
|
||||||
configure_msvc_runtime()
|
configure_msvc_runtime()
|
||||||
|
|
||||||
|
# libraries from winconf.pri
|
||||||
|
link_libraries(advapi32 crypt32 Iphlpapi ole32 shell32 User32)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user