cmake: Don't build with Werror on Haiku

This commit is contained in:
Alexander von Gluck IV 2021-02-03 14:39:49 -06:00
parent e0207ff337
commit cf00abc03e

View file

@ -645,7 +645,7 @@ if(QML_DEBUGGING)
endif()
if(NOT MSVC)
if(NOT MSVC AND NOT HAIKU)
if("${CMAKE_BUILD_TYPE}" STREQUAL "Debug" OR CI_BUILD)
target_compile_options(nheko PRIVATE "-Werror")
endif()