- added missing compiler flags for non-MSVC targets

This commit is contained in:
alexey.lysiuk 2021-09-18 17:00:28 +03:00
parent 0d4e0d72fb
commit de816fa90a
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ if( MSVC )
string(REPLACE " /GR" " " CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} )
else()
set( REL_LINKER_FLAGS "" )
set( ALL_C_FLAGS "-ffp-contract=off" )
set( ALL_C_FLAGS "-ffp-contract=off -DUSE_OPENGL=1 -DNOASM=1" )
if ( HAVE_VULKAN )
set( ALL_C_FLAGS "${ALL_C_FLAGS} -DHAVE_VULKAN" )