[MSI_WINETEST] Fix build with CMake 3.9.0 and higher

This commit is contained in:
Victor Perevertkin 2019-12-13 04:15:57 +03:00
parent 14ebc0ba3d
commit 7c474426eb
No known key found for this signature in database
GPG key ID: C750B7222E9C7830

View file

@ -32,6 +32,10 @@ list(APPEND SOURCE
suminfo.c suminfo.c
precomp.h) 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) add_executable(msi_winetest ${SOURCE} testlist.c msi_winetest.rc)
target_link_libraries(msi_winetest uuid) target_link_libraries(msi_winetest uuid)
set_module_type(msi_winetest win32cui) set_module_type(msi_winetest win32cui)