mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
DolphinNoGUI: Link against dwmapi.lib on Windows in CMake
Required since 2b261b9306
This commit is contained in:
@ -41,6 +41,11 @@ if(APPLE)
|
||||
)
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
# needed for adjusting window decorations with DwmSetWindowAttribute
|
||||
target_link_libraries(dolphin-nogui PRIVATE dwmapi.lib)
|
||||
endif()
|
||||
|
||||
if(MSVC)
|
||||
# Add precompiled header
|
||||
target_link_libraries(dolphin-nogui PRIVATE use_pch)
|
||||
|
Reference in New Issue
Block a user