Attempt to fix uint128 for mac

This commit is contained in:
Peter Conrad 2019-06-24 13:16:53 +02:00
parent 451ed46ecc
commit e160afce16

View file

@ -7,7 +7,7 @@ PROJECT( fc )
set( CMAKE_CXX_STANDARD 14 )
SET( CMAKE_CXX_STANDARD_REQUIRED ON )
if( "${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" )
if( "${CMAKE_CXX_COMPILER_ID}" MATCHES "^(Apple)?Clang|GNU$" )
set( CMAKE_CXX_EXTENSIONS ON ) # for __int128 support
else( GNU )
set( CMAKE_CXX_EXTENSIONS OFF )