https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7c474426eb847936e48496c37c03edfa92c2e7ba

commit 7c474426eb847936e48496c37c03edfa92c2e7ba
Author:     Victor Perevertkin <[email protected]>
AuthorDate: Fri Dec 13 04:15:57 2019 +0300
Commit:     Victor Perevertkin <[email protected]>
CommitDate: Fri Dec 13 04:15:57 2019 +0300

    [MSI_WINETEST] Fix build with CMake 3.9.0 and higher
---
 modules/rostests/winetests/msi/CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/rostests/winetests/msi/CMakeLists.txt 
b/modules/rostests/winetests/msi/CMakeLists.txt
index 351bda2869f..296252ebbeb 100644
--- a/modules/rostests/winetests/msi/CMakeLists.txt
+++ b/modules/rostests/winetests/msi/CMakeLists.txt
@@ -32,6 +32,10 @@ list(APPEND SOURCE
     suminfo.c
     precomp.h)
 
+# CMake 3.9 and higher requires to specify this dependency manually
+# see https://gitlab.kitware.com/cmake/cmake/issues/19933
+set_property(SOURCE msi_winetest.rc PROPERTY OBJECT_DEPENDS custom.dll)
+
 add_executable(msi_winetest ${SOURCE} testlist.c msi_winetest.rc)
 target_link_libraries(msi_winetest uuid)
 set_module_type(msi_winetest win32cui)

Reply via email to