Skip to content

Commit

Permalink
remove 32-bit Linux from supported system IDs for versions >= 11.3
Browse files Browse the repository at this point in the history
  • Loading branch information
sakra committed Apr 28, 2019
1 parent 18fef25 commit ed49556
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion CMake/Mathematica/FindMathematica.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,14 @@ macro (_get_compatible_system_IDs _systemID _outSystemIDs)
list (APPEND ${_outSystemIDs} ${_systemID})
endif()
# Linux 64-bit can run x86 through ia32-libs package
list (APPEND ${_outSystemIDs} "Linux")
if (Mathematica_VERSION)
if ("${Mathematica_VERSION}" VERSION_LESS "11.3")
# Mathematica 11.3 dropped support for 32-bit Linux
list (APPEND ${_outSystemIDs} "Linux")
endif()
else()
list (APPEND ${_outSystemIDs} "Linux")
endif()
else()
list (APPEND ${_outSystemIDs} ${_systemID})
endif()
Expand Down

0 comments on commit ed49556

Please sign in to comment.