aboutsummaryrefslogtreecommitdiffhomepage
path: root/example
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2023-05-17 15:01:17 +0100
committervaxerski <[email protected]>2023-05-17 15:01:17 +0100
commit79b8576df9630ea1c0fb1c6e399a424c3dcdcd47 (patch)
tree0e7d2aeb75ec50aad8cad326e9bcb0404fe5e042 /example
parentba714b3b71b40eb21a30f37c9cde5b566a19d3e6 (diff)
downloadHyprland-79b8576df9630ea1c0fb1c6e399a424c3dcdcd47.tar.gz
Hyprland-79b8576df9630ea1c0fb1c6e399a424c3dcdcd47.zip
examples: update plugin makefile
Diffstat (limited to 'example')
-rw-r--r--example/examplePlugin/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/examplePlugin/Makefile b/example/examplePlugin/Makefile
index ea5f3e6d..bb79532a 100644
--- a/example/examplePlugin/Makefile
+++ b/example/examplePlugin/Makefile
@@ -3,6 +3,6 @@
# and that you have ran `make protocols` in the hl dir.
all:
- g++ -shared -fPIC --no-gnu-unique main.cpp customLayout.cpp customDecoration.cpp -o examplePlugin.so -g -I "/usr/include/pixman-1" -I "/usr/include/libdrm" -I "${HYPRLAND_HEADERS}" -I "${HYPRLAND_HEADERS}/subprojects/wlroots/include" -I "${HYPRLAND_HEADERS}/subprojects/wlroots/include" -I "${HYPRLAND_HEADERS}/subprojects/wlroots/build/include" -std=c++23
+ $(CXX) -shared -fPIC --no-gnu-unique main.cpp customLayout.cpp customDecoration.cpp -o examplePlugin.so -g `pkg-config --cflags pixman-1 libdrm hyprland` -std=c++2b
clean:
rm ./examplePlugin.so