diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2024-05-04 05:17:45 +0200 |
|---|---|---|
| committer | Admiral H. Curtiss <pikachu025@gmail.com> | 2024-05-04 05:19:01 +0200 |
| commit | 5d495004567d98bb730ea9d3be1c3d3f9f79d173 (patch) | |
| tree | 65863998795a4be78b045ace420d1a3b88dc5fa0 /Source/Core/DolphinNoGUI | |
| parent | f6e3c5ccef5d689d14e8baec4a98d0b8da478b39 (diff) | |
DolphinNoGUI: Link against dwmapi.lib on Windows in CMake
Required since 2b261b9306b9ab1ab558f79b3e88b1c89e1e8755
Diffstat (limited to 'Source/Core/DolphinNoGUI')
| -rw-r--r-- | Source/Core/DolphinNoGUI/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/DolphinNoGUI/CMakeLists.txt b/Source/Core/DolphinNoGUI/CMakeLists.txt index 4f10169af1..566a643c89 100644 --- a/Source/Core/DolphinNoGUI/CMakeLists.txt +++ b/Source/Core/DolphinNoGUI/CMakeLists.txt @@ -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) |
