Skip to content

Commit

Permalink
CMake. So picky
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed Nov 9, 2024
1 parent 1f0f270 commit 5fbb065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 5fbb065

Please sign in to comment.