Ports/nhlohmann-json: Fix pkgconf install path

CMAKE_INSTALL_DATADIR is used to define the install base dir for
pkgconf files. In this case it defaulted to /usr/local/share/pkgconf
which is not a location searched by default.

See a0c1318830/CMakeLists.txt (L69)
This commit is contained in:
Emily Trau 2023-06-06 14:11:15 -07:00 committed by Linus Groh
parent 434df52b91
commit fcef663869

View file

@ -7,6 +7,7 @@ files="https://github.com/nlohmann/json/archive/refs/tags/v${version}.tar.gz jso
useconfigure='true'
configopts=(
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
"-DCMAKE_INSTALL_DATADIR=${SERENITY_INSTALL_ROOT}/usr/local/lib"
"-DJSON_BuildTests=OFF"
)