Author: tkreuzer
Date: Tue Feb 1 20:08:13 2011
New Revision: 50585
URL:
http://svn.reactos.org/svn/reactos?rev=50585&view=rev
Log:
[JSCRIPT]
Fix build with MSVC
Modified:
branches/cmake-bringup/dll/win32/jscript/CMakeLists.txt
Modified: branches/cmake-bringup/dll/win32/jscript/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/jscript…
==============================================================================
--- branches/cmake-bringup/dll/win32/jscript/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/jscript/CMakeLists.txt [iso-8859-1] Tue Feb 1
20:08:13 2011
@@ -9,7 +9,9 @@
-D__WINESRC__
-D_USE_MATH_DEFINES
-D_DLL
- -D__USE_CRTIMP)
+ -D__USE_CRTIMP
+ -Disinf=!_finite
+ -Disnan=_isnan)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
@@ -43,6 +45,9 @@
set_module_type(jscript win32dll)
target_link_libraries(jscript wine)
+if(MSVC)
+ target_link_libraries(jscript uuid)
+endif()
add_importlibs(jscript
msvcrt