mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 15:49:25 +01:00
DolphinNoGUI: Link against dwmapi.lib on Windows in CMake
Required since 2b261b9306b9ab1ab558f79b3e88b1c89e1e8755
This commit is contained in:
parent
f6e3c5ccef
commit
5d49500456
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user