From 5fbb0650d555f2301c25e88a3b35b352b3fe5304 Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Sat, 9 Nov 2024 12:32:36 -0800 Subject: [PATCH] CMake. So picky --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d894bead..796648c4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -77,7 +77,7 @@ endif() include(GNUInstallDirs) include(build/CompilerAndLinker.cmake) -if(${DIRECTX_ARCH} STREQUAL "arm64ec") +if((DEFINED DIRECTX_ARCH) AND (${DIRECTX_ARCH} STREQUAL "arm64ec")) # OpenEXR doesn't support ARM64EC set(ENABLE_OPENEXR_SUPPORT OFF) endif()