Skip to content

Commit

Permalink
Merge branch 'master' into clientserver
Browse files Browse the repository at this point in the history
  • Loading branch information
dpjudas committed Jun 4, 2020
2 parents 0089a73 + 9bf0f9b commit f09fe7b
Show file tree
Hide file tree
Showing 547 changed files with 11,199 additions and 9,705 deletions.
9 changes: 5 additions & 4 deletions CMakeLists.txt
Expand Up @@ -156,6 +156,7 @@ macro( use_fast_math )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${ZD_FASTMATH_FLAG}" )
endmacro()


include( CheckFunctionExists )

macro( require_stricmp )
Expand Down Expand Up @@ -203,9 +204,9 @@ if( MSVC )
# Function-level linking
# Disable run-time type information
if ( HAVE_VULKAN )
set( ALL_C_FLAGS "/GF /Gy /permissive- /DHAVE_VULKAN" )
set( ALL_C_FLAGS "/GF /Gy /permissive- /DHAVE_VULKAN /DHAVE_SOFTPOLY" )
else()
set( ALL_C_FLAGS "/GF /Gy /permissive-" )
set( ALL_C_FLAGS "/GF /Gy /permissive- /DHAVE_SOFTPOLY" )
endif()

# Use SSE 2 as minimum always as the true color drawers needs it for __vectorcall
Expand Down Expand Up @@ -241,9 +242,9 @@ if( MSVC )
else()
set( REL_LINKER_FLAGS "" )
if ( HAVE_VULKAN )
set( ALL_C_FLAGS "-ffp-contract=off -DHAVE_VULKAN" )
set( ALL_C_FLAGS "-ffp-contract=off -DHAVE_VULKAN -DHAVE_SOFTPOLY" )
else()
set( ALL_C_FLAGS "-ffp-contract=off" )
set( ALL_C_FLAGS "-ffp-contract=off -DHAVE_SOFTPOLY" )
endif()

if ( UNIX )
Expand Down

0 comments on commit f09fe7b

Please sign in to comment.