cmake: Disable warnings for most externals on MSVC, like we do in the VS project files.

This commit is contained in:
Admiral H. Curtiss
2022-05-21 15:09:05 +02:00
parent a5e85627b0
commit 6ea7af13e8
30 changed files with 56 additions and 0 deletions

View File

@ -12,6 +12,7 @@ add_library(
STATIC
${SRCS}
)
dolphin_disable_warnings_msvc(curl)
target_link_libraries(curl ${MBEDTLS_LIBRARIES} z)
target_compile_definitions(curl PUBLIC CURL_STATICLIB PRIVATE CURL_DISABLE_LDAP)