You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
763 B
28 lines
763 B
7 years ago
|
include(LXQtTranslateDesktop)
|
||
|
include(LXQtConfigVars)
|
||
|
|
||
|
# startlxqt script
|
||
|
set(PREDEF_XDG_DATA_DIRS "$XDG_DATA_HOME")
|
||
|
if(NOT("${LXQT_DATA_DIR}" MATCHES "^/usr(/local)?/share$"))
|
||
|
set(PREDEF_XDG_DATA_DIRS "${PREDEF_XDG_DATA_DIRS}:${LXQT_DATA_DIR}")
|
||
|
endif()
|
||
|
set(PREDEF_XDG_DATA_DIRS "${PREDEF_XDG_DATA_DIRS}:/usr/local/share:/usr/share")
|
||
|
configure_file(startlxqt.in startlxqt @ONLY)
|
||
|
install(PROGRAMS
|
||
|
"${CMAKE_CURRENT_BINARY_DIR}/startlxqt"
|
||
|
DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
||
|
COMPONENT Runtime
|
||
|
)
|
||
|
install(FILES
|
||
|
startlxqt.1
|
||
|
DESTINATION "${CMAKE_INSTALL_MANDIR}/man1"
|
||
|
COMPONENT Runtime
|
||
|
)
|
||
|
|
||
|
# default config files
|
||
|
add_subdirectory(config)
|
||
|
add_subdirectory(autostart)
|
||
|
|
||
|
# xsession *.desktop file for display managers
|
||
|
add_subdirectory(xsession)
|