mirror of
https://github.com/obsqrbtz/clrsync.git
synced 2026-04-08 20:19:04 +03:00
fix: include windows.h directly to avoid missing arch on build
This commit is contained in:
@@ -46,6 +46,11 @@ if(WIN32)
|
|||||||
GIT_REPOSITORY https://github.com/glfw/glfw.git
|
GIT_REPOSITORY https://github.com/glfw/glfw.git
|
||||||
GIT_TAG 3.3.10
|
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)
|
FetchContent_MakeAvailable(glfw)
|
||||||
|
|
||||||
else()
|
else()
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include "libloaderapi.h"
|
#include "windows.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace clrsync::core
|
namespace clrsync::core
|
||||||
|
|||||||
Reference in New Issue
Block a user