fix: include windows.h directly to avoid missing arch on build

This commit is contained in:
2025-12-08 23:15:05 +03:00
parent f968e23541
commit ae5ce52d1d
2 changed files with 6 additions and 1 deletions

View File

@@ -46,6 +46,11 @@ if(WIN32)
GIT_REPOSITORY https://github.com/glfw/glfw.git
GIT_TAG 3.3.10
)
set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
set(GLFW_BUILD_TESTS OFF CACHE BOOL "" FORCE)
set(GLFW_BUILD_DOCS OFF CACHE BOOL "" FORCE)
FetchContent_MakeAvailable(glfw)
else()