[SDK] Fix RelWithDebInfo

This commit is contained in:
Justin Miller
2025-03-22 23:05:34 +01:00
parent 386fccd02c
commit c68111883e

View File

@@ -166,7 +166,7 @@ endif()
add_compile_options(-march=${OARCH} -mtune=${TUNE})
# Warnings, errors
if((NOT CMAKE_BUILD_TYPE STREQUAL "Release") AND (NOT CMAKE_C_COMPILER_ID STREQUAL Clang))
if((NOT CMAKE_BUILD_TYPE STREQUAL "Release") AND (NOT CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo") AND (NOT CMAKE_C_COMPILER_ID STREQUAL Clang))
add_compile_options(-Werror)
endif()