aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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