--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,10 @@
-include(ECMMarkNonGuiExecutable)
+cmake_minimum_required(VERSION 3.16)
+add_link_options("-Wl,-rpath=${TERMUX_PREFIX}/opt/qt6/cross/lib")
+
+find_package(Qt6 REQUIRED COMPONENTS Core Widgets Xml)
+
+function(ecm_mark_nongui_executable)
+endfunction()

 # takes light theme icons and makes modified copies of them with dark theme stylesheets
 add_executable(generate-symbolic-dark generate-symbolic-dark.cpp)
@@ -9,3 +15,6 @@
 add_executable(qrcAlias qrcAlias.cpp)
 target_link_libraries(qrcAlias PRIVATE Qt6::Core)
 ecm_mark_nongui_executable(qrcAlias)
+
+install(TARGETS qrcAlias DESTINATION bin)
+install(TARGETS generate-symbolic-dark DESTINATION bin)
