From a562c4bb85cb991bd2f191786b1e810044d96fed Mon Sep 17 00:00:00 2001 From: Luca Foppiano Date: Wed, 25 Dec 2024 21:09:49 +0100 Subject: [PATCH] fix dependency installation --- install_deps.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install_deps.sh b/install_deps.sh index 51f1188..fe1ab0a 100755 --- a/install_deps.sh +++ b/install_deps.sh @@ -136,8 +136,8 @@ echo 'Installing zlib and png.' cd .. -cd libs/image/zlib/src && cmake "-DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=true" && make && cd - -cd libs/image/png/src && cmake "-DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=true" && make && cd - +cd libs/image/zlib/src && cmake -S . -B build "-DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=true" && make -C build && cd - +cd libs/image/png/src && cmake -S . -B build "-DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=true" && make -C build && cd - echo 'zlib and png installation is finished.'