Skip to content

Commit

Permalink
fix jpeg install lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
sameeul committed Jan 8, 2025
1 parent 4631d1d commit 4b6fd9b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ci-utils/install_prereq_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,11 @@ unzip tiff-4.6.0.zip
cd tiff-4.6.0
mkdir build_man
cd build_man
cmake -DCMAKE_INSTALL_PREFIX=../../"$LOCAL_INSTALL_DIR"/ -DCMAKE_PREFIX_PATH=../../"$LOCAL_INSTALL_DIR"/ -DJPEG_LIBRARY_RELEASE=../../"$LOCAL_INSTALL_DIR"/lib -DJPEG_INCLUDE_DIRS=../../"$LOCAL_INSTALL_DIR"/include ..
if [[ "$OSTYPE" == "darwin"* ]]; then
cmake -DCMAKE_INSTALL_PREFIX=../../"$LOCAL_INSTALL_DIR"/ -DCMAKE_PREFIX_PATH=../../"$LOCAL_INSTALL_DIR"/ -DJPEG_LIBRARY_RELEASE=../../"$LOCAL_INSTALL_DIR"/lib/libjpeg.dylib -DJPEG_INCLUDE_DIRS=../../"$LOCAL_INSTALL_DIR"/include ..
else
cmake -DCMAKE_INSTALL_PREFIX=../../"$LOCAL_INSTALL_DIR"/ -DCMAKE_PREFIX_PATH=../../"$LOCAL_INSTALL_DIR"/ ..
fi
make install -j4
cd ../../

Expand Down

0 comments on commit 4b6fd9b

Please sign in to comment.