mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 14:01:45 +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 "" )
|
set( ZD_FASTMATH_FLAG "" )
|
||||||
if( ZD_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE )
|
if( ZD_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE )
|
||||||
set( ZD_FASTMATH_FLAG "-ffast-math" )
|
set( ZD_FASTMATH_FLAG "-ffast-math" )
|
||||||
else()
|
elseif( MSVC )
|
||||||
if( MSVC )
|
|
||||||
set( ZD_FASTMATH_FLAG "/fp:fast" )
|
set( ZD_FASTMATH_FLAG "/fp:fast" )
|
||||||
endif()
|
endif()
|
||||||
endif()
|
|
||||||
|
|
||||||
if( ZLIB_FOUND AND NOT FORCE_INTERNAL_ZLIB )
|
if( ZLIB_FOUND AND NOT FORCE_INTERNAL_ZLIB )
|
||||||
message( STATUS "Using system zlib" )
|
message( STATUS "Using system zlib" )
|
||||||
|
|
Loading…
Reference in a new issue