summaryrefslogtreecommitdiff
path: root/externals
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-08-25 19:23:34 -0400
committerLiam <byteslice@airmail.cc>2023-08-25 19:23:34 -0400
commit6bb02dcb8ab95e67f913867aa388be1b189cfcdb (patch)
tree6db9e80757e7af611b3836cbb0454ffd163e5c10 /externals
parent32c453a5f13f8e1dd11a91aa2de5e3fd6dc3e87c (diff)
Skip additional mbedcrypto warnings options on MSVC
Diffstat (limited to 'externals')
-rw-r--r--externals/CMakeLists.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt
index 4a8e1cee9..82a6da9fd 100644
--- a/externals/CMakeLists.txt
+++ b/externals/CMakeLists.txt
@@ -42,9 +42,11 @@ endif()
# mbedtls
add_subdirectory(mbedtls)
target_include_directories(mbedtls PUBLIC ./mbedtls/include)
-target_compile_options(mbedcrypto PRIVATE
- -Wno-unused-but-set-variable
- -Wno-string-concatenation)
+if (NOT MSVC)
+ target_compile_options(mbedcrypto PRIVATE
+ -Wno-unused-but-set-variable
+ -Wno-string-concatenation)
+endif()
# MicroProfile
add_library(microprofile INTERFACE)