- Simplify CMake 'else() if(..)' to 'elseif(..)'.

This commit is contained in:
Edoardo Prezioso 2016-02-20 11:38:29 +01:00
parent 71f66aa912
commit a7df6ad42d

View file

@ -192,10 +192,8 @@ option(FORCE_INTERNAL_GME "Use internal gme" ON)
set( ZD_FASTMATH_FLAG "" )
if( ZD_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE )
set( ZD_FASTMATH_FLAG "-ffast-math" )
else()
if( MSVC )
set( ZD_FASTMATH_FLAG "/fp:fast" )
endif()
elseif( MSVC )
set( ZD_FASTMATH_FLAG "/fp:fast" )
endif()
if( ZLIB_FOUND AND NOT FORCE_INTERNAL_ZLIB )