Skip to content

Commit 868cae5

Browse files
committed
update build scripts
Signed-off-by: Anton Dukhovnikov <antond@wetafx.co.nz>
1 parent 5196de2 commit 868cae5

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

build_scripts/install_deps_macos.bash

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ brew install \
1111
robin-map \
1212
exiftool
1313

14-
if [ "$RTA_ENABLE_EIGEN" == "ON" ];
14+
if [ "$RTA_ENABLE_EIGEN" != "OFF" ];
1515
then
1616
brew install eigen
1717
fi
1818

19-
if [ "$RTA_ENABLE_CERES" == "ON" ];
19+
if [ "$RTA_ENABLE_CERES" != "OFF" ];
2020
then
2121
brew install ceres-solver
2222
fi
2323

24-
if [ "$RTA_ENABLE_LENSFUN" == "ON" ];
24+
if [ "$RTA_ENABLE_LENSFUN" != "OFF" ];
2525
then
2626
brew install lensfun
2727
fi

build_scripts/install_deps_ubuntu.bash

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ time sudo apt-get -q -f install -y \
1010
openimageio-tools libopenimageio-dev \
1111
exiftool \
1212

13-
if [ "$RTA_ENABLE_EIGEN" == "ON" ];
13+
if [ "$RTA_ENABLE_EIGEN" != "OFF" ];
1414
then
1515
time sudo apt-get -q -f install -y \
1616
libeigen3-dev
1717
fi
1818

19-
if [ "$RTA_ENABLE_CERES" == "ON" ];
19+
if [ "$RTA_ENABLE_CERES" != "OFF" ];
2020
then
2121
time sudo apt-get -q -f install -y \
2222
libceres-dev
2323
fi
2424

25-
if [ "$RTA_ENABLE_LENSFUN" == "ON" ];
25+
if [ "$RTA_ENABLE_LENSFUN" != "OFF" ];
2626
then
2727
time sudo apt-get -q -f install -y \
2828
liblensfun-dev \

build_scripts/install_deps_windows.bash

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ export VCPKG_BINARY_SOURCES="clear;files,C:/vcpkg/binary-cache,readwrite"
1111

1212
FEATURES=""
1313

14-
if [ "$RTA_ENABLE_LENSFUN" == "ON" ]; then
14+
if [ "$RTA_ENABLE_LENSFUN" != "OFF" ]; then
1515
FEATURES="$FEATURES --x-feature=lensfun"
1616
fi
1717

18-
if [ "$RTA_ENABLE_CERES" == "ON" ]; then
18+
if [ "$RTA_ENABLE_CERES" != "OFF" ]; then
1919
FEATURES="$FEATURES --x-feature=ceres"
20-
elif [ "$RTA_ENABLE_EIGEN" == "ON" ]; then
20+
elif [ "$RTA_ENABLE_EIGEN" != "OFF" ]; then
2121
FEATURES="$FEATURES --x-feature=eigen"
2222
fi
2323

0 commit comments

Comments
 (0)