- 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,11 +192,9 @@ 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 )
elseif( MSVC )
set( ZD_FASTMATH_FLAG "/fp:fast" )
endif()
endif()
if( ZLIB_FOUND AND NOT FORCE_INTERNAL_ZLIB )
message( STATUS "Using system zlib" )