Skip to content

Commit

Permalink
fix: slove ci issues
Browse files Browse the repository at this point in the history
  • Loading branch information
saturneric committed Feb 1, 2024
1 parent 23b3059 commit 3e55c50
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ jobs:
git clone --depth 1 --branch gpgme-1.22.0 git://git.gnupg.org/gpgme.git ${{github.workspace}}/third_party/gpgme
cd ${{github.workspace}}/third_party/gpgme
./autogen.sh
./configure --enable-maintainer-mode --enable-languages=cpp --disable-gpg-test && make -j4
./configure --enable-maintainer-mode --enable-languages=cpp && make -j4
sudo make install
cd ${{github.workspace}}
if: matrix.os == 'ubuntu-20.04'
Expand All @@ -163,7 +163,7 @@ jobs:
git clone --depth 1 --branch gpgme-1.22.0 git://git.gnupg.org/gpgme.git ${{github.workspace}}/third_party/gpgme
cd ${{github.workspace}}/third_party/gpgme
./autogen.sh
./configure --enable-maintainer-mode --enable-languages=cpp && make -j4
./configure --enable-maintainer-mode --enable-languages=cpp --disable-gpg-test && make -j4
make install
cd ${{github.workspace}}
if: matrix.os == 'windows-2019'
Expand Down
12 changes: 8 additions & 4 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ if (BUILD_APPLICATION)
list(APPEND ALL_RUNTIME_DEP_PATH_LIST ${_libDllPath})

unset(_libDllPath)
file(GLOB _libDllPath "${_libDllBinPath}/libassuan-*.dll")
file(GLOB _libDllPath "${_libDllBinPath}/libassuan*.dll")
list(APPEND ALL_RUNTIME_DEP_PATH_LIST ${_libDllPath})

unset(_libDllPath)
Expand Down Expand Up @@ -207,11 +207,11 @@ if (BUILD_APPLICATION)
list(APPEND ALL_RUNTIME_DEP_PATH_LIST ${_libDllPath})

unset(_libDllPath)
file(GLOB _libDllPath "${_libDllBinPath}/libgpg-error-*.dll")
file(GLOB _libDllPath "${_libDllBinPath}/libgpg-error*.dll")
list(APPEND ALL_RUNTIME_DEP_PATH_LIST ${_libDllPath})

unset(_libDllPath)
file(GLOB _libDllPath "${_libDllBinPath}/libgpgme-*.dll")
file(GLOB _libDllPath "${_libDllBinPath}/libgpgme*.dll")
list(APPEND ALL_RUNTIME_DEP_PATH_LIST ${_libDllPath})

unset(_libDllPath)
Expand Down Expand Up @@ -281,7 +281,11 @@ if (BUILD_APPLICATION)

# gpgme-w32spawn.exe
unset(_libExEPath)
file(GLOB _libExEPath "${_libDllBinPath}/gpgme-w32spawn.exe")
file(GLOB _libExEPath "/mingw64/libexec/gpgme-*.exe")
list(APPEND ALL_RUNTIME_DEP_PATH_LIST ${_libExEPath})

unset(_libExEPath)
file(GLOB _libExEPath "${_libDllBinPath}/gpgme-*.exe")
list(APPEND ALL_RUNTIME_DEP_PATH_LIST ${_libExEPath})

set(ALL_RUNTIME_DLL_FILES "")
Expand Down
1 change: 0 additions & 1 deletion src/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ if(MINGW)
)
endif()


# configure libarchive
if(NOT MINGW)
if(APPLE)
Expand Down

0 comments on commit 3e55c50

Please sign in to comment.