1
0
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:
Chuck Walbourn 2020-12-24 12:59:19 -08:00
parent 5d39006495
commit a4a9c1d51b

View File

@ -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)