diff options
| author | Adam <Adam@anope.org> | 2012-05-06 21:43:50 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2012-05-06 21:43:50 -0400 |
| commit | 675b113c3e03cf1917b2a731c21fe82b5f1f2b2b (patch) | |
| tree | 6a80aaeafa829a3cef5c41c938d92ffedd1bdad8 /modules/third | |
| parent | eb0e07d5645c06eb034cfcfbf91883158ba9dc00 (diff) | |
Split up db/conf/lib/locale install directories, and allow alternate ones to be specified at runtime
Diffstat (limited to 'modules/third')
| -rw-r--r-- | modules/third/language/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/third/language/CMakeLists.txt b/modules/third/language/CMakeLists.txt index af4dd90a6..85278f5be 100644 --- a/modules/third/language/CMakeLists.txt +++ b/modules/third/language/CMakeLists.txt @@ -29,8 +29,8 @@ if(GETTEXT_FOUND) endif(NOT WIN32) # Install the new language file - install(CODE "FILE(MAKE_DIRECTORY \${CMAKE_INSTALL_PREFIX}/data/languages/${LANG_LANG}/LC_MESSAGES/)") - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${LANG_MO} DESTINATION data/languages/${LANG_LANG}/LC_MESSAGES RENAME ${LANG_DOMAIN}.mo PERMISSIONS ${PERMS}) + install(CODE "FILE(MAKE_DIRECTORY ${LOCALE_DIR}/${LANG_LANG}/LC_MESSAGES/)") + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${LANG_MO} DESTINATION ${LOCALE_DIR}/${LANG_LANG}/LC_MESSAGES RENAME ${LANG_DOMAIN}.mo PERMISSIONS ${PERMS}) endforeach(LANG_PO) # Generate languages, depends on the mo files |
