From 2d6173d514b38bd12f631828b92970ba076445e7 Mon Sep 17 00:00:00 2001 From: baldurk Date: Sat, 14 May 2016 15:23:20 +0200 Subject: [PATCH] Remove -Wno-error from android build * There's one trivial warning in glslang that will be fixed shortly --- CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4f89276c9..a828f057b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,10 +37,6 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") list(APPEND warning_flags -Wno-unused-but-set-variable) endif() - if(CMAKE_CROSSCOMPILING) - list(APPEND warning_flags -Wno-error) - endif() - string(REPLACE ";" " " warning_flags "${warning_flags}") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${warning_flags}") endif()