mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 05:51:20 +00:00
- Simplify CMake 'else() if(..)' to 'elseif(..)'.
This commit is contained in:
parent
71f66aa912
commit
a7df6ad42d
1 changed files with 2 additions and 4 deletions
|
@ -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" )
|
||||
|
|
Loading…
Reference in a new issue