mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06:00
Merge pull request #12760 from AdmiralCurtiss/win-cmake-fix
Fix building with CMake on Windows
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