mirror of
https://github.com/microsoft/DirectXTex
synced 2024-12-25 19:01:05 +00:00
Fixed UWP builds with CMakeLists
This commit is contained in:
parent
5d39006495
commit
a4a9c1d51b
@ -269,7 +269,7 @@ if(WIN32)
|
||||
target_compile_definitions(texdiag PRIVATE _UNICODE UNICODE _WIN32_WINNT=0x0601)
|
||||
endif()
|
||||
|
||||
if(BUILD_DX12)
|
||||
if(BUILD_DX12 OR WINDOWS_STORE)
|
||||
target_compile_definitions(${PROJECT_NAME} PRIVATE _WIN32_WINNT=0x0A00)
|
||||
else()
|
||||
target_compile_definitions(${PROJECT_NAME} PRIVATE _WIN32_WINNT=0x0601)
|
||||
|
Loading…
Reference in New Issue
Block a user