mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 08:48:07 -06:00
committed by
GitHub
parent
f87ea1b5d3
commit
2755190d8e
@@ -225,7 +225,7 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
||||
${IOKit_LIBRARY}
|
||||
)
|
||||
elseif (CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||
target_link_libraries(qbt_base PRIVATE Iphlpapi)
|
||||
target_link_libraries(qbt_base PRIVATE Iphlpapi PowrProf)
|
||||
endif()
|
||||
|
||||
if (NOT GUI)
|
||||
|
||||
@@ -277,10 +277,6 @@ if ((CMAKE_SYSTEM_NAME STREQUAL "Windows") OR (CMAKE_SYSTEM_NAME STREQUAL "Darwi
|
||||
)
|
||||
endif()
|
||||
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||
target_link_libraries(qbt_gui PRIVATE PowrProf)
|
||||
endif()
|
||||
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
||||
target_sources(qbt_gui PRIVATE
|
||||
macosdockbadge/badger.h
|
||||
|
||||
Reference in New Issue
Block a user