mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 16:59:07 +08:00
7893f7c76c
* [upb] Fix uwp build * update baseline
16 lines
393 B
Diff
16 lines
393 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 577000a..759e35b 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -58,6 +58,10 @@ elseif(UNIX)
|
|
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--build-id")
|
|
endif()
|
|
|
|
+if (MSVC)
|
|
+ add_compile_options(/wd4146 -D_CRT_SECURE_NO_WARNINGS)
|
|
+endif()
|
|
+
|
|
enable_testing()
|
|
add_library(descriptor_upbproto INTERFACE)
|
|
add_library(upb
|