Skip to content

Commit 71a3869

Browse files
committed
fix build
Signed-off-by: Anton Dukhovnikov <[email protected]>
1 parent 7cddf7d commit 71a3869

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

build_scripts/install_aces_container.bash

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@
22

33
set -ex
44

5-
git clone https://github.com/ampas/aces_container.git aces_container
5+
git clone https://github.com/ampas/aces_container.git ../aces_container
66

77
if [[ "$OSTYPE" == "linux-gnu"* ]] || [[ "$OSTYPE" == "darwin"* ]]; then
88
cmake \
9-
-S aces_container \
10-
-B aces_container/build \
9+
-S ../aces_container \
10+
-B ../aces_container/build \
1111
-DCMAKE_CXX_FLAGS="-Wno-c++11-narrowing"
12-
cmake --build aces_container/build
13-
sudo cmake --install aces_container/build
12+
cmake --build ../aces_container/build
13+
sudo cmake --install ../aces_container/build
1414
else
1515
cmake \
16-
-S aces_container \
17-
-B aces_container/build \
18-
-DCMAKE_INSTALL_PREFIX="." \
16+
-S ../aces_container \
17+
-B ../aces_container/build \
18+
-DCMAKE_INSTALL_PREFIX=".." \
1919
-DBUILD_SHARED_LIBS=OFF
20-
cmake --build aces_container/build --config Release
21-
cmake --install aces_container/build --config Release
20+
cmake --build ../aces_container/build --config Release
21+
cmake --install ../aces_container/build --config Release
2222
fi
2323

2424
cd ../..

0 commit comments

Comments
 (0)