diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-11-16 00:09:43 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-11-16 00:09:43 +0100 |
commit | ae0ecf194bf51902652570df879579cb76f7db7f (patch) | |
tree | f7983cc792a98743cc98f4550fedc37336597f83 | |
parent | 35d01987874772b6d83189d302186b881dbf2e30 (diff) | |
download | tde-cmake-ae0ecf194bf51902652570df879579cb76f7db7f.tar.gz tde-cmake-ae0ecf194bf51902652570df879579cb76f7db7f.zip |
Adjust CMakeL10n module to search for tde.pot in 'core/tdelibs' folder.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r-- | modules/TDEL10n.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/TDEL10n.cmake b/modules/TDEL10n.cmake index d3add6b..e5989c4 100644 --- a/modules/TDEL10n.cmake +++ b/modules/TDEL10n.cmake @@ -85,14 +85,14 @@ endif( ) if( NOT DEFINED TDE_COMMON_TEXTS_POT ) get_filename_component( TDE_SOURCE_BASE "${CMAKE_CURRENT_SOURCE_DIR}" ABSOLUTE ) - while( (NOT EXISTS "${TDE_SOURCE_BASE}/tdelibs" - OR NOT IS_DIRECTORY "${TDE_SOURCE_BASE}/tdelibs" ) + while( (NOT EXISTS "${TDE_SOURCE_BASE}/core/tdelibs" + OR NOT IS_DIRECTORY "${TDE_SOURCE_BASE}/core/tdelibs" ) AND NOT "${TDE_SOURCE_BASE}" STREQUAL "/" ) get_filename_component( TDE_SOURCE_BASE "${TDE_SOURCE_BASE}" PATH ) endwhile( ) find_file( TDE_COMMON_TEXTS_POT NAMES tde.pot - HINTS "${TDE_SOURCE_BASE}/tdelibs" "${TDE_PREFIX}/include" "${TDE_PREFIX}/include/tde" + HINTS "${TDE_SOURCE_BASE}/core/tdelibs" "${TDE_PREFIX}/include" "${TDE_PREFIX}/include/tde" ) if( "${TDE_COMMON_TEXTS_POT}" STREQUAL "TDE_COMMON_TEXTS_POT-NOTFOUND" ) tde_message_fatal( "translation template with common texts not found" ) |