diff --git a/interfaces/CMakeLists.txt b/interfaces/CMakeLists.txt index 01f9fd4be..19a9cdc22 100644 --- a/interfaces/CMakeLists.txt +++ b/interfaces/CMakeLists.txt @@ -7,8 +7,7 @@ function(geninterface source_h output_h) list(APPEND libkdeconnect_HEADERS ${CMAKE_CURRENT_BINARY_DIR}/${output_h}) set_source_files_properties(${xml_file} PROPERTIES NO_NAMESPACE true) - get_filename_component(basename ${output_h} NAME_WE) - qt5_add_dbus_interface(libkdeconnect_SRC ${xml_file} ${basename}) + qt5_add_dbus_interface(libkdeconnect_SRC ${xml_file} ${output_h}) set(libkdeconnect_SRC ${libkdeconnect_SRC} PARENT_SCOPE) set(libkdeconnect_HEADERS ${libkdeconnect_HEADERS} PARENT_SCOPE) endfunction()