From a364232373ac237966924df4aa0c52a7a6e40de0 Mon Sep 17 00:00:00 2001 From: likelovewant Date: Wed, 12 Feb 2025 14:52:42 +0800 Subject: [PATCH] fix build on windows --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9f641b72..2ea9f971 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -85,9 +85,9 @@ if(CMAKE_CUDA_COMPILER) ) endif() -set(WINDOWS_AMDGPU_TARGETS_EXCLUDE_REGEX "^gfx(906|908|90a):xnack[+-]$" +set(WINDOWS_AMDGPU_TARGETS_EXCLUDE_REGEX "^gfx(908|90a):xnack[+-]$" CACHE STRING - "Regular expression describing AMDGPU_TARGETS not supported on Windows. Override to force building these targets. Default \"^gfx(906|908|90a):xnack[+-]$\"." + "Regular expression describing AMDGPU_TARGETS not supported on Windows. Override to force building these targets. Default \"^gfx(908|90a):xnack[+-]$\"." ) check_language(HIP)