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.
This commit is contained in:
Andrew Kaster 2022-12-10 13:35:33 -07:00 committed by Andreas Kling
parent 3ca661314f
commit e28bc77778
Notes: sideshowbarker 2024-07-17 03:19:41 +09:00

View file

@ -46,7 +46,7 @@ else
export CXXFILT="${SERENITY_ARCH}-pc-serenity-c++filt" export CXXFILT="${SERENITY_ARCH}-pc-serenity-c++filt"
fi 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_DIR=""
export PKG_CONFIG_SYSROOT_DIR="${SERENITY_BUILD_DIR}/Root" export PKG_CONFIG_SYSROOT_DIR="${SERENITY_BUILD_DIR}/Root"