File tree Expand file tree Collapse file tree 1 file changed +15
-8
lines changed Expand file tree Collapse file tree 1 file changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -121,14 +121,6 @@ find_package(Qt6 REQUIRED COMPONENTS ${QT_FPDEPS})
121121qt_standard_project_setup(REQUIRES 6.6)
122122set (QT_QML_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR} /qml_modules)
123123
124- if (INSTALL_QML_LIB)
125- install (
126- DIRECTORY ${CMAKE_BINARY_DIR} /qml_modules/
127- DESTINATION ${CMAKE_INSTALL_LIBDIR} /qt-6/qml
128- FILES_MATCHING PATTERN "*"
129- )
130- endif ()
131-
132124# pch breaks clang-tidy..... somehow
133125if (NOT NO_PCH)
134126 file (GENERATE
@@ -164,3 +156,18 @@ if (USE_JEMALLOC)
164156 pkg_check_modules(JEMALLOC REQUIRED jemalloc)
165157 target_link_libraries (quickshell PRIVATE ${JEMALLOC_LIBRARIES} )
166158endif ()
159+
160+ if (INSTALL_QML_LIB)
161+ install (
162+ DIRECTORY ${CMAKE_BINARY_DIR} /qml_modules/
163+ DESTINATION ${CMAKE_INSTALL_LIBDIR} /qt-6/qml
164+ FILES_MATCHING PATTERN "*"
165+ )
166+ endif ()
167+
168+ install (CODE "
169+ execute_process(
170+ COMMAND ${CMAKE_COMMAND} -E create_symlink \
171+ ${CMAKE_INSTALL_FULL_BINDIR} /quickshell ${CMAKE_INSTALL_FULL_BINDIR} /qs
172+ )
173+ " )
You can’t perform that action at this time.
0 commit comments