mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 09:50:07 +00:00
[MSI_WINETEST] Fix build with CMake 3.9.0 and higher (attempt #2)
This commit is contained in:
parent
7c474426eb
commit
d495a4fceb
|
@ -32,9 +32,11 @@ 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)
|
||||
if(NOT ${CMAKE_VERSION} VERSION_LESS "3.9.0")
|
||||
# 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)
|
||||
endif()
|
||||
|
||||
add_executable(msi_winetest ${SOURCE} testlist.c msi_winetest.rc)
|
||||
target_link_libraries(msi_winetest uuid)
|
||||
|
|
Loading…
Reference in a new issue