Author: akhaldi
Date: Sat Sep 3 17:35:54 2011
New Revision: 53552
URL:
http://svn.reactos.org/svn/reactos?rev=53552&view=rev
Log:
[RPCRT4_WINETEST]
* Fix msvc build.
Modified:
trunk/rostests/winetests/rpcrt4/CMakeLists.txt
Modified: trunk/rostests/winetests/rpcrt4/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/rpcrt4/CMakeLis…
==============================================================================
--- trunk/rostests/winetests/rpcrt4/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/rostests/winetests/rpcrt4/CMakeLists.txt [iso-8859-1] Sat Sep 3 17:35:54 2011
@@ -30,6 +30,11 @@
${CMAKE_CURRENT_BINARY_DIR}/server_c.c
${CMAKE_CURRENT_BINARY_DIR}/server_s.c)
+if(MSVC)
+ # The nmake generator misses this dependency, so set it explicitly until this bug is
fixed.
+ set_source_files_properties(server.c PROPERTIES OBJECT_DEPENDS
${CMAKE_CURRENT_BINARY_DIR}/server_s.h)
+endif()
+
add_executable(rpcrt4_winetest ${SOURCE})
target_link_libraries(rpcrt4_winetest
uuid