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
1 changed files with 1 additions and 1 deletions

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()