From: Simon McVittie Date: Fri, 6 Oct 2017 11:54:30 +0000 (+0100) Subject: cmake: Stop creating an empty afxres.h X-Git-Tag: dbus-1.11.22~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d03c6d1131b70996d585ecd5b99c6d011ca262e3;p=thirdparty%2Fdbus.git cmake: Stop creating an empty afxres.h The resource file used to #include this, but it was unnecessary, and Ralf removed it in commit e3a14eb. Signed-off-by: Simon McVittie Bug: https://bugs.freedesktop.org/show_bug.cgi?id=103015 Reviewed-by: Ralf Habacker --- diff --git a/cmake/dbus/CMakeLists.txt b/cmake/dbus/CMakeLists.txt index 86484a937..42674944d 100644 --- a/cmake/dbus/CMakeLists.txt +++ b/cmake/dbus/CMakeLists.txt @@ -245,7 +245,6 @@ if (MSVC) set (BUILD_TIMESTAMP ${DBUS_BUILD_TIMESTAMP}) configure_file(${DBUS_DIR}/versioninfo.rc.in ${CMAKE_CURRENT_BINARY_DIR}/versioninfo.rc) - file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/afxres.h "") list(APPEND libdbus_SOURCES versioninfo.rc) set_source_files_properties(versioninfo.rc COMPILE_FLAGS "-D__LINE__=1") endif (MSVC)