Include wlroots subproject from hyprland sources during compilation

This commit is contained in:
ItsDrike 2023-04-03 17:27:02 +02:00
parent a9eedb1d72
commit 6afe3cb756
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0

View file

@ -19,7 +19,7 @@ ifndef HYPRLAND_HEADERS
endif endif
$(PLUGIN_NAME).so: $(SOURCE_FILES) $(INCLUDE_FILES) $(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: clean:
rm ./${PLUGIN_NAME}.so rm ./${PLUGIN_NAME}.so