Skip to content

Commit

Permalink
Merge pull request #538 from freakboy3742/openjpeg-libdir
Browse files Browse the repository at this point in the history
Set LIBDIR for remaining cmake-built libraries.
  • Loading branch information
mattip authored Oct 28, 2024
2 parents 0cce082 + 9580f1a commit 9a9d127
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library_builders.sh
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ function build_openjpeg {
fi
local out_dir=$(fetch_unpack https://github.com/uclouvain/openjpeg/archive/${archive_prefix}${OPENJPEG_VERSION}.tar.gz)
(cd $out_dir \
&& $cmake -DCMAKE_INSTALL_PREFIX=$BUILD_PREFIX -DCMAKE_INSTALL_NAME_DIR=$BUILD_PREFIX/lib . \
&& $cmake -DCMAKE_INSTALL_PREFIX=$BUILD_PREFIX -DCMAKE_INSTALL_LIBDIR=$BUILD_PREFIX/lib -DCMAKE_INSTALL_NAME_DIR=$BUILD_PREFIX/lib . \
&& make install)
touch openjpeg-stamp
}
Expand Down Expand Up @@ -342,7 +342,7 @@ function build_blosc {
local cmake=$(get_modern_cmake)
fetch_unpack https://github.com/Blosc/c-blosc/archive/v${BLOSC_VERSION}.tar.gz
(cd c-blosc-${BLOSC_VERSION} \
&& $cmake -DCMAKE_INSTALL_PREFIX=$BUILD_PREFIX -DCMAKE_INSTALL_NAME_DIR=$BUILD_PREFIX/lib . \
&& $cmake -DCMAKE_INSTALL_PREFIX=$BUILD_PREFIX -DCMAKE_INSTALL_LIBDIR=$BUILD_PREFIX/lib -DCMAKE_INSTALL_NAME_DIR=$BUILD_PREFIX/lib . \
&& make install)
touch blosc-stamp
}
Expand Down

0 comments on commit 9a9d127

Please sign in to comment.