From e28bc777784a8441922bc08cfd10cab9d08af857 Mon Sep 17 00:00:00 2001 From: Andrew Kaster Date: Sat, 10 Dec 2022 13:35:33 -0700 Subject: [PATCH] Ports: Find cmake in Toolchain/Local/cmake if built If a developer built cmake (or we built it for them) from source, make sure that port builds can find that version of CMake that has the SerenityOS platform files included. --- Ports/.hosted_defs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ports/.hosted_defs.sh b/Ports/.hosted_defs.sh index ac346fef55b..8f0590f864e 100644 --- a/Ports/.hosted_defs.sh +++ b/Ports/.hosted_defs.sh @@ -46,7 +46,7 @@ else export CXXFILT="${SERENITY_ARCH}-pc-serenity-c++filt" fi -export PATH="${SERENITY_TOOLCHAIN_BINDIR}:${HOST_PATH}" +export PATH="${SERENITY_TOOLCHAIN_BINDIR}:${SERENITY_SOURCE_DIR}/Toolchain/Local/cmake/bin:${HOST_PATH}" export PKG_CONFIG_DIR="" export PKG_CONFIG_SYSROOT_DIR="${SERENITY_BUILD_DIR}/Root"