CMake update for try-compile with DLLs (#593)

This commit is contained in:
Chuck Walbourn
2025-03-07 17:38:04 -08:00
committed by GitHub
parent c0606824c9
commit 1085e4fef4
7 changed files with 249 additions and 50 deletions

View File

@@ -5,10 +5,6 @@ cmake_minimum_required (VERSION 3.20)
set(DIRECTXTEX_VERSION 2.0.6)
if(WINDOWS_STORE OR (DEFINED XBOX_CONSOLE_TARGET))
set(CMAKE_TRY_COMPILE_TARGET_TYPE "STATIC_LIBRARY")
endif()
project (DirectXTex
VERSION ${DIRECTXTEX_VERSION}
DESCRIPTION "DirectX Texture Library"