mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 00:22:55 +08:00
3856a6bda7
* [many ports] Update version * [aws-checksums] Add dependency aws-c-common * update version * port updates * port updates * Update ports/brotli/CONTROL * [draco] fix uwp build * [blosc] Fix win static build * [blosc] fix unix build * move changes to other PRs * Remove unuse patches
16 lines
588 B
Diff
16 lines
588 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index f8a7328..9b01f56 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -163,6 +163,10 @@ if (UNIX AND NOT APPLE AND NOT ${CMAKE_SYSTEM_NAME} MATCHES FreeBSD)
|
|
target_compile_definitions(${PROJECT_NAME} PRIVATE -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=500)
|
|
endif()
|
|
|
|
+if (WIN32)
|
|
+ add_compile_options(/wd4068)
|
|
+endif()
|
|
+
|
|
aws_add_sanitizers(${PROJECT_NAME} BLACKLIST "sanitizer-blacklist.txt")
|
|
target_link_libraries(${PROJECT_NAME} PUBLIC ${PLATFORM_LIBS})
|
|
target_compile_definitions(${PROJECT_NAME} PRIVATE ${PLATFORM_DEFINES})
|