From e5795f0d337a32128014c1f7d9fb9a15bf0fc5e9 Mon Sep 17 00:00:00 2001 From: sdixon Date: Mon, 5 Aug 2024 03:38:00 +0100 Subject: [PATCH] adding cmake config directories to the environment for the MSCV CI build --- .github/workflows/build_wheels.yml | 1 + source/clientserver/protocol.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index f2a9d50c..b3e3d9e3 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -103,6 +103,7 @@ jobs: $_ } } | Set-Content ./build/CMakeCache.txt + && Add-Content -Path ./build/CMakeCache.txt -Value "Iconv_INCLUDE_DIR:PATH=C:/vcpkg/installed/x64-windows-static-md/include" && cmake --build build -j --config Release && cmake --install build --config Release && ls install/lib diff --git a/source/clientserver/protocol.h b/source/clientserver/protocol.h index 1529a7ee..eb2f8e98 100755 --- a/source/clientserver/protocol.h +++ b/source/clientserver/protocol.h @@ -54,7 +54,7 @@ #define UDA_PROTOCOL_LIMITER 113 #define UDA_PROTOCOL_OPAQUE_STOP 200 -#if _MSV_VER && !__INTEL_COMPILER +#if _MSC_VER && !__INTEL_COMPILER int mkstemp(char* template_str); #endif