cmake: Stop creating an empty afxres.h
authorSimon McVittie <smcv@collabora.com>
Fri, 6 Oct 2017 11:54:30 +0000 (12:54 +0100)
committerRalf Habacker <ralf.habacker@freenet.de>
Tue, 17 Oct 2017 18:24:11 +0000 (20:24 +0200)
The resource file used to #include this, but it was unnecessary,
and Ralf removed it in commit e3a14eb.

Signed-off-by: Simon McVittie <smcv@collabora.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=103015
Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
cmake/dbus/CMakeLists.txt

index 86484a9..4267494 100644 (file)
@@ -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)