From: Ralf Habacker Date: Wed, 19 Feb 2020 10:12:07 +0000 (+0100) Subject: cmake: Fix attribute 'original file name' in shared dbus library file info on Windows X-Git-Tag: dbus-1.13.14~17^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ffe1b949c67a17da5b873cf10bd4c3cc7adeb30;p=thirdparty%2Fdbus.git cmake: Fix attribute 'original file name' in shared dbus library file info on Windows The 'original filename' attribute was 'libdbus-1-3}.dll' with an unwanted curly bracket. --- diff --git a/cmake/modules/Macros.cmake b/cmake/modules/Macros.cmake index 33fbcbb23..fed160077 100644 --- a/cmake/modules/Macros.cmake +++ b/cmake/modules/Macros.cmake @@ -194,7 +194,7 @@ endmacro() macro(add_library_version_info _sources _name) set(DBUS_VER_INTERNAL_NAME "${_name}") - set(DBUS_VER_ORIGINAL_NAME "${DBUS_VER_INTERNAL_NAME}}${CMAKE_SHARED_LIBRARY_SUFFIX}") + set(DBUS_VER_ORIGINAL_NAME "${DBUS_VER_INTERNAL_NAME}${CMAKE_SHARED_LIBRARY_SUFFIX}") set(DBUS_VER_FILE_TYPE "VFT_DLL") configure_file(${CMAKE_SOURCE_DIR}/dbus/versioninfo.rc.in ${CMAKE_CURRENT_BINARY_DIR}/versioninfo-${DBUS_VER_INTERNAL_NAME}.rc) # version info and uac manifest can be combined in a binary because they use different resource types