Skip to content

Commit

Permalink
Specific versions of libssh and openssl
Browse files Browse the repository at this point in the history
  • Loading branch information
allanrbo committed Aug 12, 2022
2 parents 02dc29f + 0dc48b8 commit 0d53c3a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.10)

project(filesremote VERSION 1.9 LANGUAGES CXX)
project(filesremote VERSION 1.10 LANGUAGES CXX)

SET(CMAKE_CXX_STANDARD 17)

Expand Down
12 changes: 7 additions & 5 deletions README.DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ Get and build the 3rd party dependencies:

# OpenSSL
cd $WORKDIR
curl -L -O https://www.openssl.org/source/openssl-1.1.1h.tar.gz
tar -xzf openssl-1.1.1h.tar.gz
cd openssl-1.1.1h
git clone https://github.com/openssl/openssl.git

cd openssl
git checkout tags/openssl-3.0.5
if [[ "$OSTYPE" == "darwin"* ]]; then
export CFLAGS=-mmacosx-version-min=10.13
export LDFLAGS=-mmacosx-version-min=10.13
Expand All @@ -65,10 +66,11 @@ Get and build the 3rd party dependencies:
cd $WORKDIR
git clone https://github.com/libssh2/libssh2.git
cd libssh2
git checkout tags/libssh2-1.10.0
mkdir mybuild
cd mybuild
export CMAKE_PREFIX_PATH="$WORKDIR/openssl-1.1.1h"
cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.13 -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -DOPENSSL_USE_STATIC_LIBS=TRUE ..
export CMAKE_PREFIX_PATH="$WORKDIR/openssl"
cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.13 -DBUILD_EXAMPLES=ON -DBUILD_TESTING=OFF -DOPENSSL_USE_STATIC_LIBS=TRUE ..
cmake --build .


Expand Down

0 comments on commit 0d53c3a

Please sign in to comment.