aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <kossebau@kde.org>2020-02-11 02:16:13 +0100
committerFriedrich W. H. Kossebau <kossebau@kde.org>2020-02-11 02:16:13 +0100
commitda4c8108eaf7d5d70beece22a4d94c2128bff2cc (patch)
tree73e9cb25a845511a3e0d33a607e1fb80352e2c5b
parent86041b6d8634a87e80e68fba44ad00bc4b4549ba (diff)
downloadextra-cmake-modules-da4c8108eaf7d5d70beece22a4d94c2128bff2cc.tar.gz
extra-cmake-modules-da4c8108eaf7d5d70beece22a4d94c2128bff2cc.tar.bz2
ECMQtDeclareLoggingCategory: use older NAME_WE with get_filename_component
NAME_WLE might be more nice to support any people who might want to use a dot in the base filename, but that needs newer cmake. GIT_SILENT
-rw-r--r--modules/ECMQtDeclareLoggingCategory.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ECMQtDeclareLoggingCategory.cmake b/modules/ECMQtDeclareLoggingCategory.cmake
index 2bee4f93..a2260c71 100644
--- a/modules/ECMQtDeclareLoggingCategory.cmake
+++ b/modules/ECMQtDeclareLoggingCategory.cmake
@@ -377,7 +377,7 @@ function(ecm_qt_install_logging_categories)
set(_renamed_cats_file)
if (_renamed_categories)
get_filename_component(_dir ${ARGS_FILE} DIRECTORY)
- get_filename_component(_base_name ${ARGS_FILE} NAME_WLE)
+ get_filename_component(_base_name ${ARGS_FILE} NAME_WE)
set(_renamed_cats_file "${_dir}/${_base_name}.renamecategories")
file(WRITE ${_renamed_cats_file}
"# KDebugSettings data file