Skip to content

Commit

Permalink
macosx openssl upgrade test
Browse files Browse the repository at this point in the history
  • Loading branch information
whoozle committed Jan 9, 2025
1 parent 0e614eb commit bf4bb8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ jobs:
- name: Install Dependencies...
run: |
brew tap homebrew/cask
brew install qt@5 homebrew/cask/macfuse taglib openssl@1.1 cmake ninja libmagic
brew install qt@5 homebrew/cask/macfuse taglib openssl cmake ninja libmagic
- name: Checking out sources...
uses: actions/checkout@v4
- name: Configuring...
run: cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.12 -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$(brew --prefix qt@5) -DOPENSSL_ROOT_DIR=$(brew --prefix openssl@1.1) -DOPENSSL_LIBRARIES=$(brew --prefix openssl@1.1)/lib -DCMAKE_INSTALL_PREFIX=appdir -B build -G Ninja .
run: cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.12 -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$(brew --prefix qt@5) -DOPENSSL_ROOT_DIR=$(brew --prefix openssl) -DOPENSSL_LIBRARIES=$(brew --prefix openssl)/lib -DCMAKE_INSTALL_PREFIX=appdir -B build -G Ninja .
- name: Building...
run: ninja -j$(sysctl -n hw.ncpu) -C build
- name: Installing...
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ endif()
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(MACOSX_BUNDLE_LIBS)
if (OPENSSL_FOUND)
list(APPEND MACOSX_BUNDLE_LIBS /usr/local/opt/openssl@1.1/lib/libcrypto.1.1.dylib)
list(APPEND MACOSX_BUNDLE_LIBS /opt/homebrew/opt/openssl@3/lib/libcrypto.dylib)
endif()
if (TAGLIB_FOUND)
list(APPEND MACOSX_BUNDLE_LIBS /usr/local/opt/taglib/lib/libtag.1.dylib)
Expand Down

0 comments on commit bf4bb8d

Please sign in to comment.