Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into dragonbook
Browse files Browse the repository at this point in the history
  • Loading branch information
dpjudas committed Jun 3, 2020
2 parents 5cf0775 + fd3845c commit 490c389
Show file tree
Hide file tree
Showing 538 changed files with 10,975 additions and 9,704 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 490c389

Please sign in to comment.