Skip additional mbedcrypto warnings options on MSVC
This commit is contained in:
parent
32c453a5f1
commit
6bb02dcb8a
|
@ -42,9 +42,11 @@ endif()
|
||||||
# mbedtls
|
# mbedtls
|
||||||
add_subdirectory(mbedtls)
|
add_subdirectory(mbedtls)
|
||||||
target_include_directories(mbedtls PUBLIC ./mbedtls/include)
|
target_include_directories(mbedtls PUBLIC ./mbedtls/include)
|
||||||
target_compile_options(mbedcrypto PRIVATE
|
if (NOT MSVC)
|
||||||
-Wno-unused-but-set-variable
|
target_compile_options(mbedcrypto PRIVATE
|
||||||
-Wno-string-concatenation)
|
-Wno-unused-but-set-variable
|
||||||
|
-Wno-string-concatenation)
|
||||||
|
endif()
|
||||||
|
|
||||||
# MicroProfile
|
# MicroProfile
|
||||||
add_library(microprofile INTERFACE)
|
add_library(microprofile INTERFACE)
|
||||||
|
|
Reference in New Issue