mirror of
https://github.com/microsoft/DirectXTex.git
synced 2025-07-08 19:20:14 +02:00
CMake fix for legacy Durango (#597)
This commit is contained in:
parent
666e28c955
commit
3ae41b79aa
@ -5,6 +5,10 @@ cmake_minimum_required (VERSION 3.20)
|
||||
|
||||
set(DIRECTXTEX_VERSION 2.0.6)
|
||||
|
||||
if(XBOX_CONSOLE_TARGET STREQUAL "durango")
|
||||
set(CMAKE_TRY_COMPILE_TARGET_TYPE "STATIC_LIBRARY")
|
||||
endif()
|
||||
|
||||
project (DirectXTex
|
||||
VERSION ${DIRECTXTEX_VERSION}
|
||||
DESCRIPTION "DirectX Texture Library"
|
||||
|
Loading…
x
Reference in New Issue
Block a user