mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 00:29:01 +08:00
763a397e30
* [netgen] add new port * v db * fix config path for linux * v db * add supports * figure out CI error * fix the path correctly * v db * fix install layout * v db * more cleanup * v db * fix cmake usage and missing filesystem include * v db * disable parallel configure * v db * update to latest tag * v db * control cmake install loc * v db * more install control for mac * v db * more mac fixes * v db * remove old version * replace cgns patch * v db --------- Co-authored-by: vzhli17 <v-zhli17@microsoft.com>
15 lines
683 B
Diff
15 lines
683 B
Diff
diff --git a/libsrc/core/CMakeLists.txt b/libsrc/core/CMakeLists.txt
|
|
index c4f4795..cd5ad50 100644
|
|
--- a/libsrc/core/CMakeLists.txt
|
|
+++ b/libsrc/core/CMakeLists.txt
|
|
@@ -28,8 +28,7 @@ endif(USE_PYTHON)
|
|
|
|
if(WIN32)
|
|
target_compile_options(ngcore PUBLIC /bigobj /MP /W1 /wd4068)
|
|
- get_WIN32_WINNT(ver)
|
|
- target_compile_definitions(ngcore PUBLIC _WIN32_WINNT=${ver} WNT WNT_WINDOW NOMINMAX MSVC_EXPRESS _CRT_SECURE_NO_WARNINGS HAVE_STRUCT_TIMESPEC WIN32)
|
|
+ target_compile_definitions(ngcore PUBLIC WNT WNT_WINDOW NOMINMAX MSVC_EXPRESS _CRT_SECURE_NO_WARNINGS HAVE_STRUCT_TIMESPEC WIN32)
|
|
target_link_options(ngcore PUBLIC /ignore:4273 /ignore:4217 /ignore:4049)
|
|
endif(WIN32)
|
|
|