mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-30 08:27:50 +08:00
cf3e688dda
* [aws-c-common]Upgrade to 0.4.15 * [aws-c-common]Fix cmake target path. * [aws-c-event-stream]Upgrade to 0.1.4 * [aws-checksums]Upgrade to 0.1.5 [aws-c-event-stream]Fix cmake target path. [aws-lambda-cpp]Upgrade to 0.2.4 [aws-sdk-cpp]Upgrade to 1.7.214 * [aws=sdk-cpp]Set feature AWSMigrationHub to lowercase. * [aws-lambda-cpp] Drop support with OSX
16 lines
615 B
Diff
16 lines
615 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 79c66c3..f6639d7 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -127,6 +127,10 @@ if (UNIX AND NOT APPLE AND NOT ${CMAKE_SYSTEM_NAME} MATCHES FreeBSD)
|
|
#this only gets applied to aws-c-common (not its consumers).
|
|
target_compile_definitions(${CMAKE_PROJECT_NAME} PRIVATE -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=500)
|
|
endif()
|
|
+
|
|
+if (WIN32)
|
|
+ add_compile_options(/wd4068)
|
|
+endif()
|
|
|
|
aws_add_sanitizers(${CMAKE_PROJECT_NAME} BLACKLIST "sanitizer-blacklist.txt")
|
|
target_link_libraries(${CMAKE_PROJECT_NAME} PUBLIC ${PLATFORM_LIBS})
|