hy3
hy3 copied to clipboard
Make it compile as module
Given the use case of the package it seems to be more appropriate
Index: hy3-hl0.48.0/CMakeLists.txt
===================================================================
--- hy3-hl0.48.0.orig/CMakeLists.txt
+++ hy3-hl0.48.0/CMakeLists.txt
@@ -13,7 +13,7 @@ endif()
find_package(PkgConfig REQUIRED)
pkg_check_modules(DEPS REQUIRED hyprland pixman-1 libdrm pango pangocairo libinput wayland-client xkbcommon)
-add_library(hy3 SHARED
+add_library(hy3 MODULE
src/main.cpp
src/dispatchers.cpp
src/Hy3Layout.cpp
As a side note there are a few cases where you run into:
warning: control reaches end of non-void function [-Wreturn-type]
e.g. Hy3Node.cpp 217/280/636