1
0
Fork 0
forked from suyu/suyu

Skip additional mbedcrypto warnings options on MSVC

This commit is contained in:
Liam 2023-08-25 19:23:34 -04:00
parent 32c453a5f1
commit 6bb02dcb8a

View file

@ -42,9 +42,11 @@ endif()
# mbedtls
add_subdirectory(mbedtls)
target_include_directories(mbedtls PUBLIC ./mbedtls/include)
target_compile_options(mbedcrypto PRIVATE
if (NOT MSVC)
target_compile_options(mbedcrypto PRIVATE
-Wno-unused-but-set-variable
-Wno-string-concatenation)
endif()
# MicroProfile
add_library(microprofile INTERFACE)