Author: akhaldi
Date: Thu Sep 25 19:37:02 2014
New Revision: 64284
URL:
http://svn.reactos.org/svn/reactos?rev=64284&view=rev
Log:
[KERNEL32_VISTA]
* Fix MSVC build.
Modified:
trunk/reactos/dll/win32/kernel32_vista/CMakeLists.txt
Modified: trunk/reactos/dll/win32/kernel32_vista/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32_vista/C…
==============================================================================
--- trunk/reactos/dll/win32/kernel32_vista/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32_vista/CMakeLists.txt [iso-8859-1] Thu Sep 25 19:37:02
2014
@@ -9,16 +9,15 @@
list(APPEND SOURCE
DllMain.c
GetTickCount64.c
-)
+ ${CMAKE_CURRENT_BINARY_DIR}/kernel32_vista.def)
-add_library(kernel32_vista SHARED
- ${SOURCE}
- ${CMAKE_CURRENT_BINARY_DIR}/kernel32_vista.def
-)
+add_library(kernel32_vista SHARED ${SOURCE})
+set_module_type(kernel32_vista win32dll HOTPATCHABLE ENTRYPOINT DllMain 12)
+add_importlibs(kernel32_vista kernel32)
-set_module_type(kernel32_vista win32dll HOTPATCHABLE ENTRYPOINT DllMain 12)
-
-add_importlibs(kernel32_vista kernel32)
+if(MSVC)
+ add_importlibs(kernel32_vista ntdll)
+endif()
add_dependencies(kernel32_vista psdk)
add_cd_file(TARGET kernel32_vista DESTINATION reactos/system32 FOR all)