Skip to content

Commit

Permalink
Be more explicit for now
Browse files Browse the repository at this point in the history
Signed-off-by: Geoff Hutchison <[email protected]>
  • Loading branch information
ghutchis committed Feb 8, 2024
1 parent 4d2a5f6 commit d021e60
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,10 @@ jobs:
CC=${{matrix.config.cc}} CXX=${{matrix.config.cxx}} cmake $GITHUB_WORKSPACE ${{env.FEATURES}} -DCMAKE_BUILD_TYPE=${{matrix.config.build_type}} ${{matrix.config.cmake_flags}}
shell: bash

- name: Setup tmate session
if: runner.os == 'Windows'
uses: mxschmitt/action-tmate@v3

- name: Build
run: |
CC=${{matrix.config.cc}} CXX=${{matrix.config.cxx}} cmake --build . --config ${{matrix.config.build_type}} ${{matrix.config.build_flags}}
Expand Down Expand Up @@ -285,10 +289,6 @@ jobs:
CODESIGN_IDENTITY: ${{ secrets.CODESIGN_ID }}
PRODUCT_BUNDLE_IDENTIFIER: cc.avogadro

- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3

- name: Upload
if: matrix.config.artifact != 0
uses: actions/upload-artifact@v4
Expand Down
3 changes: 2 additions & 1 deletion cmake/AvogadroCPack.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ if(INSTALL_BUNDLE_FILES)

# grab OpenSSL for Windows
if(WIN32)
if(DEFINED ENV{OPENSSL_ROOT_DIR})
if(EXISTS "D:/a/Tools/OpenSSL/Win_x64")
set(OPENSSL_ROOT_DIR "D:/a/Tools/OpenSSL/Win_x64")
file(GLOB OPENSSL_DLL $ENV{OPENSSL_ROOT_DIR}/bin/*.dll)
install(FILES ${OPENSSL_DLL} DESTINATION ${INSTALL_RUNTIME_DIR})
endif()
Expand Down

0 comments on commit d021e60

Please sign in to comment.