From 6afe3cb756b71433ee480480c2512a0f78b145c7 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Mon, 3 Apr 2023 17:27:02 +0200 Subject: [PATCH] Include wlroots subproject from hyprland sources during compilation --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6d0f2c6..13f5215 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ ifndef HYPRLAND_HEADERS endif $(PLUGIN_NAME).so: $(SOURCE_FILES) $(INCLUDE_FILES) - g++ -shared -fPIC --no-gnu-unique $(SOURCE_FILES) -o $(PLUGIN_NAME).so -g -I "/usr/include/pixman-1" -I "/usr/include/libdrm" -I "${HYPRLAND_HEADERS}" -Iinclude -std=c++23 + g++ -shared -fPIC --no-gnu-unique $(SOURCE_FILES) -o $(PLUGIN_NAME).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/build/include" -Iinclude -std=c++23 clean: rm ./${PLUGIN_NAME}.so