mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 12:11:25 +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,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 )
|
||||
|
|
Loading…
Reference in a new issue