Skip to content

Commit

Permalink
Fix sed command for Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
damianhxy committed Jan 8, 2024
1 parent 4126b95 commit f6732b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Prepare app_credentials.h
run: |
cp ${{ github.workspace }}/src/app_credentials.h.template ${{ github.workspace }}/src/app_credentials.h
sed -i '' -e 's/\[ENTER STRING HERE\]/"placeholder"/g' ${{ github.workspace }}/src/app_credentials.h
sed -i'' -e 's/\[ENTER STRING HERE\]/"placeholder"/g' ${{ github.workspace }}/src/app_credentials.h
- name: Install Ubuntu dependencies
if: ${{ matrix.os == 'ubuntu-latest' }}
Expand Down
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,11 @@ if (CMAKE_HOST_SYSTEM_NAME MATCHES "Darwin")
OUTPUT_STRIP_TRAILING_WHITESPACE
)
if (BREW_OPENSSL EQUAL 0 AND EXISTS "${BREW_OPENSSL_PREFIX}")
message(STATUS "OpenSSL keg: ${BREW_OPENSSL_PREFIX}")
include_directories("${BREW_OPENSSL_PREFIX}/include")
link_libraries("-L${BREW_OPENSSL_PREFIX}/lib")
else()
message(FATAL_ERROR "OpenSSL keg not found")
endif()
endif()

Expand Down

0 comments on commit f6732b5

Please sign in to comment.