mirror of
https://github.com/microsoft/DirectXTex.git
synced 2026-02-04 12:16:14 +01:00
Fixed UWP builds with CMakeLists
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user