add desktop files reconfiguring

fix target on cmake builds
improve cmake version check logic
This commit is contained in:
arcan1s
2015-02-17 03:37:06 +03:00
parent e1ebd87871
commit 4cee2535ee
7 changed files with 13 additions and 3 deletions

View File

@ -19,4 +19,4 @@ foreach (_current_PO_FILE ${_po_files})
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${_lang}.gmo DESTINATION ${LOCALE_INSTALL_DIR}/${_lang}/LC_MESSAGES/ RENAME ${MO_NAME})
list (APPEND _gmoFiles ${_gmoFile})
endforeach (_current_PO_FILE)
add_custom_target (pofiles ALL DEPENDS ${_gmoFiles})
add_custom_target (aw_pofiles ALL DEPENDS ${_gmoFiles})

View File

@ -19,4 +19,4 @@ foreach (_current_PO_FILE ${_po_files})
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${_lang}.gmo DESTINATION ${LOCALE_INSTALL_DIR}/${_lang}/LC_MESSAGES/ RENAME ${MO_NAME})
list (APPEND _gmoFiles ${_gmoFile})
endforeach (_current_PO_FILE)
add_custom_target (pofiles ALL DEPENDS ${_gmoFiles})
add_custom_target (dp_pofiles ALL DEPENDS ${_gmoFiles})