summaryrefslogtreecommitdiff
path: root/Ports/cmake/package.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Ports/cmake/package.sh')
-rwxr-xr-xPorts/cmake/package.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ports/cmake/package.sh b/Ports/cmake/package.sh
index d8116c6cb0..1b7d7fd4a2 100755
--- a/Ports/cmake/package.sh
+++ b/Ports/cmake/package.sh
@@ -5,7 +5,7 @@ useconfigure=true
files="https://github.com/Kitware/CMake/releases/download/v$version/cmake-$version.tar.gz cmake-$version.tar.gz 7d0232b9f1c57e8de81f38071ef8203e6820fe7eec8ae46a1df125d88dbcc2e1"
auth_type=sha256
depends="bash make sed ncurses libuv"
-configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_SOURCE_DIR/Toolchain/CMake/CMakeToolchain.txt -DCMAKE_USE_SYSTEM_LIBRARY_LIBUV=1 -GNinja"
+configopts="-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt -DCMAKE_USE_SYSTEM_LIBRARY_LIBUV=1 -GNinja"
configure() {
run cmake $configopts .