From de816fa90a9240d891ad87b447bcae7a37ab0317 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 18 Sep 2021 17:00:28 +0300 Subject: [PATCH] - added missing compiler flags for non-MSVC targets --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 37c4f076e..c02d52ac1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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" )