From daca00603a8e8b2898f46f7104ad423939aa2df0 Mon Sep 17 00:00:00 2001 From: Karutoh Date: Tue, 1 Oct 2024 19:50:21 -0700 Subject: [PATCH] Fixed workflow for Windows. --- .gitea/workflows/BuildRelease.yaml | 4 +++- CMakeLists.txt | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/BuildRelease.yaml b/.gitea/workflows/BuildRelease.yaml index 4f5f8c4..13c4fc9 100644 --- a/.gitea/workflows/BuildRelease.yaml +++ b/.gitea/workflows/BuildRelease.yaml @@ -30,10 +30,12 @@ jobs: run: | cd ${{ gitea.workspace }} mkdir bin + mv build/Release/EHS_Dyn.dll bin mv build/Release/StrToHash.exe bin mv build/Release/zlib1.dll bin mkdir lib - mv build/Release/EHS.lib lib + mv build/Release/EHS_Stc.lib lib + mv build/Release/EHS_Dyn.lib lib - name: Zipping Binaries run: | diff --git a/CMakeLists.txt b/CMakeLists.txt index 93ea536..e38ee59 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -288,6 +288,7 @@ endif () target_link_libraries(EHS_Stc OpenSSL::SSL OpenSSL::Crypto ZLIB::ZLIB) target_link_libraries(EHS_Dyn OpenSSL::SSL OpenSSL::Crypto ZLIB::ZLIB) +target_link_libraries(StrToHash OpenSSL::SSL OpenSSL::Crypto ZLIB::ZLIB) if (IS_OS_WINDOWS) target_link_libraries(EHS_Dyn avrt ws2_32)