Skip to content

Commit 6cf9432

Browse files
committed
Fix LIBSSH2_INCLUDE_DIRS
CMake Warning: Manually-specified variables were not used by the project: LIBSSH2_INCLUDE_DIRS In line 794 https://github.com/gitx/gitx/actions/runs/22541819447/job/65298081457
1 parent 207d44f commit 6cf9432

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

script/update_libgit2

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ else
1919
echo "Running on a Apple x86"
2020
export ARCH_PREFIX=/usr/local
2121
fi
22-
export PKG_CONFIG_PATH=$ARCH_PREFIX/opt/openssl/lib/pkgconfig
22+
export PKG_CONFIG_PATH=$ARCH_PREFIX/opt/openssl/lib/pkgconfig:$ARCH_PREFIX/lib/pkgconfig
2323

2424
# augment path to help it find cmake installed in /usr/local/bin,
2525
# e.g. via brew. Xcode's Run Script phase doesn't seem to honor
@@ -28,7 +28,6 @@ PATH="$ARCH_PREFIX/bin:$PATH"
2828

2929
cmake --version
3030
cmake -DBUILD_SHARED_LIBS:BOOL=OFF \
31-
-DLIBSSH2_INCLUDE_DIRS:PATH=$ARCH_PREFIX/include/ \
3231
-DBUILD_CLAR:BOOL=OFF \
3332
-DTHREADSAFE:BOOL=ON \
3433
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \

0 commit comments

Comments
 (0)