This commit is contained in:
Javier Feliz 2025-08-28 18:09:20 -04:00
parent e5b9c85355
commit ffde0b15e8
2 changed files with 11 additions and 1 deletions

View File

@ -24,6 +24,10 @@ pkg_check_modules(GIO REQUIRED IMPORTED_TARGET gio-2.0)
qt_standard_project_setup() qt_standard_project_setup()
# Set Qt policies for proper QML module bundling
qt_policy(SET QTP0001 NEW) # Use :/qt/qml/ as default resource prefix
qt_policy(SET QTP0004 NEW) # Require qmldir files
qt_add_executable(waycast) qt_add_executable(waycast)
include_directories("${CMAKE_SOURCE_DIR}/lib") include_directories("${CMAKE_SOURCE_DIR}/lib")

View File

@ -8,4 +8,10 @@ run:
br: bld run br: bld run
all: configure bld run all: configure bld run
install: bld
mkdir -p ~/bin
cp ./build/waycast ~/bin/waycast
@echo "waycast installed to ~/bin/waycast"
@echo "Make sure ~/bin is in your PATH"