mirror of
https://github.com/reactos/reactos.git
synced 2026-06-02 01:11:03 +08:00
[SDK] Fix RelWithDebInfo (#7811)
This commit is contained in:
@@ -166,7 +166,7 @@ endif()
|
|||||||
add_compile_options(-march=${OARCH} -mtune=${TUNE})
|
add_compile_options(-march=${OARCH} -mtune=${TUNE})
|
||||||
|
|
||||||
# Warnings, errors
|
# 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)
|
add_compile_options(-Werror)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user