[RPCRT4_WINETEST]

* Fix msvc build.

svn path=/trunk/; revision=53552
This commit is contained in:
Amine Khaldi 2011-09-03 17:35:54 +00:00
parent aa70ab9bbd
commit 2b4d045b85

View file

@ -30,6 +30,11 @@ list(APPEND SOURCE
${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