Remove -Wno-error from android build

* There's one trivial warning in glslang that will be fixed shortly
This commit is contained in:
baldurk
2016-05-14 15:23:20 +02:00
parent 7e0747e3bd
commit 2d6173d514
-4
View File
@@ -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()