glaze: fix install paths

This commit moves the cmake files from /usr/share/glaze to
/usr/lib/cmake/glaze so that other cmake project would be able
to find the headers.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Markus Volk
2026-09-02 11:48:54 -07:00
committed by Khem Raj
parent d72d11b798
commit 2330468507
+8 -3
View File
@@ -9,9 +9,14 @@ SRCREV = "07e5ef2e2d4c53fdfd8603a61be37053b5a27bc5"
inherit cmake
EXTRA_OECMAKE = "-Dglaze_BUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -Dglaze_ENABLE_FUZZING=OFF -Dglaze_DEVELOPER_MODE=OFF"
FILES:${PN}-dev += "${datadir}/${BPN}/*.cmake"
EXTRA_OECMAKE = " \
-Dglaze_BUILD_EXAMPLES=OFF \
-DBUILD_TESTING=OFF \
-Dglaze_ENABLE_FUZZING=OFF \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=${prefix} \
-DDESTDIR=${D} \
"
# Glaze is a header-only C++ library, so the main package will be empty.
ALLOW_EMPTY:${PN} = "1"