Skip to content

Commit 2f485bf

Browse files
committed
Skip ZFP on Intel OneAPI
1 parent de12446 commit 2f485bf

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

CMakeLists.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,15 @@ else ()
180180
endif ()
181181

182182
# ZFP filter
183-
FILTER_OPTION (ZFP)
183+
if (WIN32)
184+
if (NOT CMAKE_C_COMPILER_ID MATCHES "Intel[Ll][Ll][Vv][Mm]" AND NOT CMAKE_C_COMPILER_ID MATCHES "Intel")
185+
FILTER_OPTION (ZFP)
186+
else ()
187+
set (ENABLE_ZFP OFF CACHE BOOL "" FORCE)
188+
endif ()
189+
else ()
190+
FILTER_OPTION (ZFP)
191+
endif ()
184192

185193
# ZSTD filter
186194
if (WIN32)

0 commit comments

Comments
 (0)