mirror of
https://github.com/microsoft/DirectXTex.git
synced 2026-02-04 04:16:12 +01:00
CMake fix for legacy Durango (#597)
This commit is contained in:
@@ -5,6 +5,10 @@ cmake_minimum_required (VERSION 3.20)
|
|||||||
|
|
||||||
set(DIRECTXTEX_VERSION 2.0.6)
|
set(DIRECTXTEX_VERSION 2.0.6)
|
||||||
|
|
||||||
|
if(XBOX_CONSOLE_TARGET STREQUAL "durango")
|
||||||
|
set(CMAKE_TRY_COMPILE_TARGET_TYPE "STATIC_LIBRARY")
|
||||||
|
endif()
|
||||||
|
|
||||||
project (DirectXTex
|
project (DirectXTex
|
||||||
VERSION ${DIRECTXTEX_VERSION}
|
VERSION ${DIRECTXTEX_VERSION}
|
||||||
DESCRIPTION "DirectX Texture Library"
|
DESCRIPTION "DirectX Texture Library"
|
||||||
|
|||||||
Reference in New Issue
Block a user