https://git.reactos.org/?p=reactos.git;a=commitdiff;h=971b3223ba3eb773a4a675259e708587f0399602

commit 971b3223ba3eb773a4a675259e708587f0399602
Author:     Jérôme Gardou <[email protected]>
AuthorDate: Tue Oct 20 09:06:26 2020 +0200
Commit:     Jérôme Gardou <[email protected]>
CommitDate: Tue Oct 20 15:21:00 2020 +0200

    [CMAKE] Use explicit path for "custom.dll" dependency
---
 modules/rostests/winetests/msi/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/rostests/winetests/msi/CMakeLists.txt 
b/modules/rostests/winetests/msi/CMakeLists.txt
index a480519bbcb..2c71551a024 100644
--- a/modules/rostests/winetests/msi/CMakeLists.txt
+++ b/modules/rostests/winetests/msi/CMakeLists.txt
@@ -36,7 +36,7 @@ list(APPEND PCH_SKIP_SOURCE
 
 # 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)
+set_property(SOURCE msi_winetest.rc PROPERTY OBJECT_DEPENDS 
${CMAKE_CURRENT_BINARY_DIR}/custom.dll)
 
 add_executable(msi_winetest
     ${SOURCE}

Reply via email to