fix: Add back remove warning as error

This commit is contained in:
2026-10-05 18:36:25 +02:00
parent 3764421cc0
commit edc567331d
+5 -5
View File
@@ -18,11 +18,11 @@
# Legacy course material: keep the project's warning flags but drop -Werror;
# these old sources produce warnings that must not block the build.
set(CMAT_OPTIONS "")
# foreach (opt IN LISTS BASE_OPTIONS)
# if (NOT opt STREQUAL "-Werror" AND NOT opt STREQUAL "/WX")
# list(APPEND CMAT_OPTIONS "${opt}")
# endif()
# endforeach()
foreach (opt IN LISTS BASE_OPTIONS)
if (NOT opt STREQUAL "-Werror" AND NOT opt STREQUAL "/WX")
list(APPEND CMAT_OPTIONS "${opt}")
endif()
endforeach()
# ------------------------------------------------------------------------------
# Keyboard/Screen support (DOS_Unix/)