[cmake] enable clang-cl and WoA builds #348
1 changed files with 8 additions and 0 deletions
8
externals/CMakeLists.txt
vendored
8
externals/CMakeLists.txt
vendored
|
@ -65,6 +65,14 @@ if (mbedtls_ADDED)
|
|||
-Wno-unused-but-set-variable
|
||||
-Wno-string-concatenation
|
||||
)
|
||||
elseif(CXX_CLANG)
|
||||
foreach(TARGET mbedtls mbedcrypto mbedx509)
|
||||
target_compile_options(${TARGET} PRIVATE
|
||||
-Wno-switch-default
|
||||
-Wno-undef
|
||||
-Wno-unused-macros
|
||||
)
|
||||
endforeach()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue