mirror of
https://github.com/reactos/reactos.git
synced 2025-01-06 06:20:13 +00:00
[CMAKE/CLANG]
* Add -Wno-microsoft only for C modules at the moment (as we're using g++ for c++ modules). CORE-8516 svn path=/trunk/; revision=64097
This commit is contained in:
parent
43ca2f7692
commit
58d6989040
1 changed files with 1 additions and 2 deletions
|
@ -32,8 +32,7 @@ if(GCC_VERSION VERSION_GREATER 4.7)
|
|||
endif()
|
||||
|
||||
if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
||||
add_compile_flags_language("-std=gnu89" "C")
|
||||
add_compile_flags("-Wno-microsoft")
|
||||
add_compile_flags_language("-std=gnu89 -Wno-microsoft" "C")
|
||||
set(CMAKE_LINK_DEF_FILE_FLAG "")
|
||||
set(CMAKE_STATIC_LIBRARY_SUFFIX ".a")
|
||||
set(CMAKE_LINK_LIBRARY_SUFFIX "")
|
||||
|
|
Loading…
Reference in a new issue