(macOS) Fixed a dependency library build issue

This commit is contained in:
Leon Styhre 2023-11-05 12:34:25 +01:00
parent 6ba8eab589
commit 9ae8245cd6
2 changed files with 2 additions and 2 deletions

View file

@ -305,7 +305,7 @@ elseif(APPLE)
PERMISSIONS ${APPLE_DYLIB_PERMISSIONS} DESTINATION ../MacOS)
install(FILES ${CMAKE_SOURCE_DIR}/libfreetype.6.dylib
PERMISSIONS ${APPLE_DYLIB_PERMISSIONS} DESTINATION ../MacOS)
install(FILES ${CMAKE_SOURCE_DIR}/libgit2.1.6.dylib
install(FILES ${CMAKE_SOURCE_DIR}/libgit2.1.7.dylib
PERMISSIONS ${APPLE_DYLIB_PERMISSIONS} DESTINATION ../MacOS)
install(FILES ${CMAKE_SOURCE_DIR}/libjpeg.62.dylib
PERMISSIONS ${APPLE_DYLIB_PERMISSIONS} DESTINATION ../MacOS)

View file

@ -192,7 +192,7 @@ rm -f CMakeCache.txt
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=OFF ..
make clean
make -j${JOBS}
cp libgit2.1.6.4.dylib ../../../libgit2.1.6.dylib
cp libgit2.1.7.1.dylib ../../../libgit2.1.7.dylib
cd ../..
echo