mirror of
https://github.com/microsoft/DirectXTex.git
synced 2025-07-09 11:40:14 +02: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…
x
Reference in New Issue
Block a user