mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 13:33:40 +00:00
[host] fix host-windows-cross github compilation
This commit is contained in:
parent
4408359597
commit
71b826458d
@ -8,6 +8,8 @@ include_directories(
|
||||
# allow use of functions for Windows 7 or later
|
||||
add_compile_definitions(WINVER=0x0601 _WIN32_WINNT=0x0601)
|
||||
|
||||
add_compile_definitions(__USE_MINGW_ANSI_STDIO=0)
|
||||
|
||||
if (MINGW)
|
||||
# Build our own ntdll.dll import library
|
||||
# This tricks MinGW into not linking stuff like memcpy from ntdll.dll instead of mscvrt.dll
|
||||
|
@ -49,6 +49,7 @@ set(CMAKE_C_STANDARD 11)
|
||||
|
||||
if(WIN32)
|
||||
add_compile_options("-fdebug-prefix-map=${PROJECT_TOP}/=")
|
||||
add_compile_definitions(__USE_MINGW_ANSI_STDIO=0)
|
||||
endif()
|
||||
|
||||
if(ENABLE_ASAN)
|
||||
|
@ -28,7 +28,6 @@
|
||||
|
||||
#include <d3d11.h>
|
||||
#include <d3d11_4.h>
|
||||
#include <d3d11on12.h>
|
||||
|
||||
#include <dxgi.h>
|
||||
#include <dxgi1_2.h>
|
||||
|
Loading…
Reference in New Issue
Block a user