Skip to content

Commit 1b9b4df

Browse files
committed
Use build directory env location
1 parent a6d6e8b commit 1b9b4df

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

ci/build-osx.sh

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,14 @@ export DEPS="libuiohook-osx-1.1-sl.0"
66
wget --quiet --retry-connrefused --waitretry=1 https://obs-studio-deployment.s3-us-west-2.amazonaws.com/libuiohook-osx-1.1-sl.0.tar.gz
77
tar -xf ./${DEPS}.tar.gz -C ./deps
88

9-
mkdir build
10-
cd build
11-
129
# Configure
13-
cmake .. \
14-
-DUIOHOOKDIR=${PWD}/../deps/${DEPS} \
10+
cmake ${BUILDDIRECTORY} \
11+
-DUIOHOOKDIR=${PWD}/./deps/${DEPS} \
1512
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
1613
-DCMAKE_INSTALL_PREFIX=${FULLDISTRIBUTEPATH}/node-libuiohook
1714
-DNODEJS_NAME=${RUNTIMENAME} \
1815
-DNODEJS_URL=${RUNTIMEURL} \
1916
-DNODEJS_VERSION=${RUNTIMEVERSION}
2017

21-
cd ..
22-
2318
# Build
24-
cmake --build build --target install --config RelWithDebInfo
19+
cmake --build ${BUILDDIRECTORY} --target install --config RelWithDebInfo

0 commit comments

Comments
 (0)