mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:23:07 +00:00
[CMAKE] Elimitate the use of GCC and CLANG variables
This commit is contained in:
parent
6f4be52a1c
commit
f155b9377f
32 changed files with 78 additions and 116 deletions
|
@ -7,7 +7,7 @@ add_definitions(
|
|||
set(NTOS_RTL_SOURCE_DIR "${REACTOS_SOURCE_DIR}/sdk/lib/rtl")
|
||||
include_directories(${NTOS_RTL_SOURCE_DIR})
|
||||
|
||||
if (GCC)
|
||||
if (CMAKE_C_COMPILER_ID STREQUAL "GNU" OR CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
||||
# Enable this again. CORE-17637
|
||||
add_compile_options(-Wunused-result)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue