summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-01-24 20:13:21 +0100
committerSlávek Banko <slavek.banko@axis.cz>2021-01-25 21:40:05 +0100
commit52001b90693f0c986d6aa2ceec69f9b8fa7b8699 (patch)
tree3baf079d546fd5ac857d59f7f5de3a8eb53ff641
parent53c7e28984f89f979c4495b30abdb10a80373d71 (diff)
downloadtde-cmake-52001b90693f0c986d6aa2ceec69f9b8fa7b8699.tar.gz
tde-cmake-52001b90693f0c986d6aa2ceec69f9b8fa7b8699.zip
tde_create_translated_desktop: Use find_file instead of find_program
to find tde_l10n_merge.pl because it does not have the executable bit set. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--modules/TDEMacros.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake
index 26afad6..958f453 100644
--- a/modules/TDEMacros.cmake
+++ b/modules/TDEMacros.cmake
@@ -1877,13 +1877,13 @@ macro( tde_create_translated_desktop )
include( FindPerl )
endif( )
if( NOT INTLTOOL_MERGE_EXECUTABLE )
- find_program( INTLTOOL_MERGE_EXECUTABLE
+ find_file( INTLTOOL_MERGE_EXECUTABLE
NAMES tde_l10n_merge.pl
HINTS ${TDE_CMAKE_MODULES}
)
if( "${INTLTOOL_MERGE_EXECUTABLE}" STREQUAL "INTLTOOL_MERGE_EXECUTABLE-NOTFOUND" )
- #tde_message_fatal( "xgettext >= 0.19 or intltool-merge is required but not found" )
- tde_message_fatal( "intltool-merge is required but not found" )
+ #tde_message_fatal( "xgettext >= 0.19 or tde_l10n_merge.pl is required but not found" )
+ tde_message_fatal( "tde_l10n_merge.pl is required but not found" )
endif( )
message( STATUS "Found intltool: ${INTLTOOL_MERGE_EXECUTABLE}" )
endif( )