@ -196,7 +196,8 @@ elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "AppleClang")
message ( FATAL_ERROR "AppleClang version must be at least 7.3." )
message ( FATAL_ERROR "AppleClang version must be at least 7.3." )
elseif ( ( CMAKE_CXX_COMPILER_VERSION VERSION_EQUAL 11.0 ) OR ( CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 11.0 ) )
elseif ( ( CMAKE_CXX_COMPILER_VERSION VERSION_EQUAL 11.0 ) OR ( CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 11.0 ) )
message ( WARNING "Temporarily disabling stack checks for AppleClang 11.0 or higher." )
message ( WARNING "Temporarily disabling stack checks for AppleClang 11.0 or higher." )
# T O D O : I n r e l e a s e m o d e , s t a c k c h e c k s c u r r e n t l y f a i l a t r u n t i m e . M i g h t b e a c o m p i l e r b u g a s t h e r e d o e s n o t s e e m t o b e f a u l t y b e h a v i o r .
# T O D O : I n r e l e a s e m o d e , s t a c k c h e c k s c u r r e n t l y f a i l a t r u n t i m e . M i g h t b e a c o m p i l e r b u g a s t h e r e d o e s n o t s e e m t o b e f a u l t y b e h a v i o r .
# T O D O : T h i s s e e m s t o b e f i x e d f o r c l a n g 1 1 . 0 . 3 ( bundled with XCode 11.5 ) . C h e c k a g a i n , i f t h e c l a n g v e r s i o n c o m i n g w i t h t h e c o m m a n d l i n e t o o l s i s g r e a t e r t h a n 1 1 . 0 . 0 .
set ( CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fno-stack-check" )
set ( CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fno-stack-check" )
endif ( )
endif ( )