diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2024-05-05 19:40:25 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-05 19:40:25 +0200 |
| commit | 485bdba98ec215efe184f9f74f73f43984d2660e (patch) | |
| tree | ca17cb0ae6c56641cc3d2f875a96ace66e81a7b5 /Source/Core | |
| parent | 98529a9d2eac0a5f6f66540e7284901e361c85a0 (diff) | |
| parent | 5d495004567d98bb730ea9d3be1c3d3f9f79d173 (diff) | |
Merge pull request #12760 from AdmiralCurtiss/win-cmake-fix
Fix building with CMake on Windows
Diffstat (limited to 'Source/Core')
| -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) |
