mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 07:13:23 +00:00
[CMAKE] Some options are only supported by GCC, don't use them for clang
These are (so far): -Wno-format-overflow -Wno-nonnull-compare -Wno-old-style-declaration -Wno-unused-but-set-variable
This commit is contained in:
parent
959729f6ee
commit
74ec94e12c
35 changed files with 99 additions and 57 deletions
|
@ -17,6 +17,6 @@ target_link_libraries(setupapi_winetest uuid)
|
|||
add_importlibs(setupapi_winetest advapi32 setupapi user32 shell32 msvcrt kernel32 ntdll)
|
||||
add_rostests_file(TARGET setupapi_winetest)
|
||||
|
||||
if (NOT MSVC)
|
||||
if(CMAKE_C_COMPILER_ID STREQUAL "GNU")
|
||||
target_compile_options(setupapi_winetest PRIVATE -Wno-format-overflow)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue