From da4c8108eaf7d5d70beece22a4d94c2128bff2cc Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Tue, 11 Feb 2020 02:16:13 +0100 Subject: 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 --- modules/ECMQtDeclareLoggingCategory.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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 -- cgit v1.2.1