cmake_minimum_required( VERSION 2.6 )

file(GLOB DESKTOP_FILES_IN *.desktop.in)

# Translations **********************************
include(LxQtTranslate)
lxqt_translate_desktop(DESKTOP_FILES
    SOURCES
        ${DESKTOP_FILES_IN}
)
add_custom_target(autostart_desktop_files ALL DEPENDS ${DESKTOP_FILES})
#************************************************

install(FILES ${DESKTOP_FILES} DESTINATION /etc/xdg/autostart)

cmake_minimum_required( VERSION 2.8.11)

file(GLOB DESKTOP_FILES_IN *.desktop.in)

# Translations **********************************
include(LxQtTranslate)
lxqt_translate_desktop(DESKTOP_FILES
    SOURCES
        ${DESKTOP_FILES_IN}
)
add_custom_target(autostart_desktop_files ALL DEPENDS ${DESKTOP_FILES})
#************************************************

install(FILES ${DESKTOP_FILES} DESTINATION /etc/xdg/autostart)

Update the required minimum cmake version
Update the required minimum cmake version

Qt5 needs 2.8.3. But.... 2.8.11 is much better.
