diff options
author | Slávek Banko <[email protected]> | 2020-11-15 18:52:15 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-11-15 18:52:51 +0100 |
commit | 8fde8b8e3bbb79e1e6b272e98a02917b873bb12f (patch) | |
tree | 5c594dc5614b325414bdb9aac52d2d12e985e9dc /CMakeL10n.txt | |
parent | 53b8ba3f5bd122be6eda56c3bf662509cb84d491 (diff) | |
download | tdelibs-8fde8b8e3bbb79e1e6b272e98a02917b873bb12f.tar.gz tdelibs-8fde8b8e3bbb79e1e6b272e98a02917b873bb12f.zip |
Adjust CMakeL10n rules for new 'core' folder for main modules.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit b44ff1c0a99422f3332dfbdec6492cfb3cdde7ef)
Diffstat (limited to 'CMakeL10n.txt')
-rw-r--r-- | CMakeL10n.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt index 1606387a8..ca597109c 100644 --- a/CMakeL10n.txt +++ b/CMakeL10n.txt @@ -25,18 +25,18 @@ set( POT_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../tde-i18n/template/messages/t ##### verify tqt3 sources ####################### -if( NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/../dependencies/tqt3/src ) +if( NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/../../dependencies/tqt3/src ) tde_message_fatal( "TQt3 source code is required but not found" ) endif( ) ##### prepare tqt3/src/xml/qxml.cpp ############# -if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/../dependencies/tqt3/src/xml/qxml.cpp ) +if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/../../dependencies/tqt3/src/xml/qxml.cpp ) # hide "#define" to allow strings to be extracted using xgettext - file( READ ${CMAKE_CURRENT_SOURCE_DIR}/../dependencies/tqt3/src/xml/qxml.cpp _tqt_qxml ) + file( READ ${CMAKE_CURRENT_SOURCE_DIR}/../../dependencies/tqt3/src/xml/qxml.cpp _tqt_qxml ) string( REGEX REPLACE "\n(#define[^\n]*)(QT_TRANSLATE_NOOP)" "\n/*\\1*/\\2" _tqt_qxml ${_tqt_qxml} ) - file( WRITE ${CMAKE_CURRENT_SOURCE_DIR}/../dependencies/tqt3/src/xml/qxml.cpp.tde_l10n "${_tqt_qxml}" ) + file( WRITE ${CMAKE_CURRENT_SOURCE_DIR}/../../dependencies/tqt3/src/xml/qxml.cpp.tde_l10n "${_tqt_qxml}" ) endif( ) @@ -104,8 +104,8 @@ tde_l10n_create_template( "." "tdeabc/scripts/entrylist.tde_l10n" "tdecore/tde-config.cpp.cmake" - "../dependencies/tqt3/src" - "../dependencies/tqt3/src/xml/qxml.cpp.tde_l10n" + "../../dependencies/tqt3/src" + "../../dependencies/tqt3/src/xml/qxml.cpp.tde_l10n" EXCLUDES "/test/" "/tests/" "^arts/kde/mcop-dcop/" |