Skip to content

Commit

Permalink
Correct check logic
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnHDF committed Sep 5, 2024
1 parent 55115c9 commit a035576
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,9 @@ if (WIN32)
set (ENABLE_BLOSC2 OFF CACHE BOOL "" FORCE)
endif ()
elseif (APPLE)
if (NOT CMAKE_C_COMPILER_ID MATCHES "Intel")
FILTER_OPTION (BLOSC2)
elseif (CMAKE_C_COMPILER_ID MATCHES "Intel[Ll][Ll][Vv][Mm]")
if (CMAKE_C_COMPILER_ID MATCHES "Intel[Ll][Ll][Vv][Mm]")
FILTER_OPTION (BLOSC2)
elseif (NOT CMAKE_C_COMPILER_ID MATCHES "Apple[Cc]lang")
elseif (NOT CMAKE_C_COMPILER_ID MATCHES "Intel" AND NOT CMAKE_C_COMPILER_ID MATCHES "Apple[Cc]lang")
FILTER_OPTION (BLOSC2)
else ()
set (ENABLE_BLOSC2 OFF CACHE BOOL "" FORCE)
Expand Down

0 comments on commit a035576

Please sign in to comment.