Skip to content

Commit

Permalink
Set install location for locales, don't update pot and po by default
Browse files Browse the repository at this point in the history
  • Loading branch information
phw committed Jan 7, 2016
1 parent 88be7e9 commit b665785
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ cmake_minimum_required(VERSION 2.6)
set (XDG_APPS_INSTALL_DIR share/applications)
set (GettextTranslate_GMO_BINARY TRUE)
set (GettextTranslate_ALL TRUE)
set (LOCALEDIR ${CMAKE_INSTALL_PREFIX}/locale)

# Include macros for Vala and GLib
list(APPEND CMAKE_MODULE_PATH
Expand Down
2 changes: 1 addition & 1 deletion cmake/GettextTranslate.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ macro(GettextTranslate)
add_custom_target(${GMO_TARGET}
COMMAND ${GettextTranslate_MSGFMT_EXECUTABLE} -c --statistics --verbose
-o ${GMO_FILE_NAME} ${PO_FILE_NAME}
DEPENDS ${PO_TARGET}
#DEPENDS ${PO_TARGET}
)

add_dependencies(${PO_TARGET} ${MAKEVAR_DOMAIN}.pot-update)
Expand Down

0 comments on commit b665785

Please sign in to comment.