Skip to content

Commit

Permalink
Blosc2 will not compile on windows with IntelOneAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnHDF committed May 13, 2024
1 parent e637685 commit 770d70a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,12 @@ endif ()

# BLOSC2 filter
if (WIN32)
if (NOT CMAKE_C_COMPILER_ID MATCHES "[Cc]lang" AND MSVC_VERSION GREATER 1600)
FILTER_OPTION (BLOSC2)
if (NOT CMAKE_C_COMPILER_ID MATCHES "Intel[Ll][Ll][Vv][Mm]")
if (NOT CMAKE_C_COMPILER_ID MATCHES "[Cc]lang" AND MSVC_VERSION GREATER 1600)
FILTER_OPTION (BLOSC2)
else ()
set (ENABLE_BLOSC2 OFF CACHE BOOL "" FORCE)
endif ()
else ()
set (ENABLE_BLOSC2 OFF CACHE BOOL "" FORCE)
endif ()
Expand Down

0 comments on commit 770d70a

Please sign in to comment.