Attempt to fix uint128 for mac
This commit is contained in:
parent
451ed46ecc
commit
e160afce16
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ PROJECT( fc )
|
||||||
set( CMAKE_CXX_STANDARD 14 )
|
set( CMAKE_CXX_STANDARD 14 )
|
||||||
SET( CMAKE_CXX_STANDARD_REQUIRED ON )
|
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
|
set( CMAKE_CXX_EXTENSIONS ON ) # for __int128 support
|
||||||
else( GNU )
|
else( GNU )
|
||||||
set( CMAKE_CXX_EXTENSIONS OFF )
|
set( CMAKE_CXX_EXTENSIONS OFF )
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue