mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Merge pull request #12760 from AdmiralCurtiss/win-cmake-fix
Fix building with CMake on Windows
This commit is contained in:
commit
485bdba98e
2 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue