Skip to content

Commit 82bd295

Browse files
committed
adding openjpeg bash script to windows install deps
Signed-off-by: grdanny <danny.gr@gmail.com>
1 parent ca0881c commit 82bd295

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/build-scripts/gh-installdeps.bash

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,8 @@ fi
189189

190190
if [[ "$OPENJPEG_VERSION" != "" ]] ; then
191191
source src/build-scripts/build_OpenJPEG.bash
192+
else
193+
echo "OPENJPEG_VERSION is unset on linux - not running the bash script that insalls it"
192194
fi
193195

194196
if [[ "$PUGIXML_VERSION" != "" ]] ; then

src/build-scripts/gh-win-installdeps.bash

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ if [[ "$OPENEXR_VERSION" != "" ]] ; then
7575
# the above line is admittedly sketchy
7676
fi
7777

78+
if [[ "$OPENJPEG_VERSION" != "" ]] ; then
79+
source src/build-scripts/build_OpenJPEG.bash
80+
else
81+
echo "OPENJPEG_VERSION is unset on windows - not running the bash script that insalls it"
82+
fi
83+
84+
7885
cp $DEP_DIR/lib/*.lib $DEP_DIR/bin || true
7986
cp $DEP_DIR/bin/*.dll $DEP_DIR/lib || true
8087
echo "DEP_DIR $DEP_DIR :"

0 commit comments

Comments
 (0)