Skip to content

Commit

Permalink
Check git actions build
Browse files Browse the repository at this point in the history
  • Loading branch information
chronoxor committed Mar 9, 2024
1 parent 1e9c754 commit dcbc5b8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build-windows-msys2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@ jobs:
- name: "Setup MSYS2"
uses: msys2/setup-msys2@v2
with:
msystem: UCRT64
release: false
install: >-
git
make
python3-pip
mingw-w64-x86_64-cmake
mingw-w64-x86_64-gcc
mingw-w64-x86_64-doxygen
mingw-w64-x86_64-graphviz
mingw-w64-ucrt-x86_64-cmake
mingw-w64-ucrt-x86_64-gcc
mingw-w64-ucrt-x86_64-doxygen
mingw-w64-ucrt-x86_64-graphviz
msys2-w32api-runtime
python-pip
- name: "Setup cmake"
run: cmake --version
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ include(SystemInformation)

# External packages
if(APPLE)
set(OPENSSL_ROOT_DIR "/usr/local/opt/openssl@1.1")
set(OPENSSL_ROOT_DIR "/usr/local/opt/openssl@3")
elseif(CYGWIN)
set(OPENSSL_ROOT_DIR "/usr/lib")
set(OPENSSL_INCLUDE_DIR "/usr/include")
set(OPENSSL_CRYPTO_LIBRARY "/usr/lib/libcrypto.dll.a")
set(OPENSSL_SSL_LIBRARY "/usr/lib/libssl.dll.a")
elseif(MINGW)
elseif(MINGW AND NOT MSYS)
set(OPENSSL_ROOT_DIR "${CMAKE_CURRENT_SOURCE_DIR}/modules/OpenSSL/MinGW")
set(OPENSSL_USE_STATIC_LIBS TRUE)
elseif(MSVC)
Expand Down

0 comments on commit dcbc5b8

Please sign in to comment.