[USER32]
authorJérôme Gardou <jerome.gardou@reactos.org>
Mon, 5 Nov 2012 23:29:52 +0000 (23:29 +0000)
committerJérôme Gardou <jerome.gardou@reactos.org>
Mon, 5 Nov 2012 23:29:52 +0000 (23:29 +0000)
- Link to msvcrtex in MSC builds

svn path=/trunk/; revision=57680

reactos/win32ss/user/user32/CMakeLists.txt

index 83801b1..d7bfe86 100644 (file)
@@ -82,6 +82,11 @@ target_link_libraries(user32
     win32ksys
     ${PSEH_LIB})
 
+if(MSVC)
+    # for __ftol2_sse, float to int cast helper
+    target_link_libraries(user32 msvcrtex)
+endif()
+
 add_delay_importlibs(user32 imm32 usp10)
 add_importlibs(user32 gdi32 advapi32 kernel32 ntdll)
 add_pch(user32 include/user32.h)