mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 18:02:55 +00:00
[JSCRIPT]
Fix build with MSVC svn path=/branches/cmake-bringup/; revision=50585
This commit is contained in:
parent
12eb8a290f
commit
7d6c6d9196
|
@ -9,7 +9,9 @@ add_definitions(
|
||||||
-D__WINESRC__
|
-D__WINESRC__
|
||||||
-D_USE_MATH_DEFINES
|
-D_USE_MATH_DEFINES
|
||||||
-D_DLL
|
-D_DLL
|
||||||
-D__USE_CRTIMP)
|
-D__USE_CRTIMP
|
||||||
|
-Disinf=!_finite
|
||||||
|
-Disnan=_isnan)
|
||||||
|
|
||||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||||
|
|
||||||
|
@ -43,6 +45,9 @@ add_library(jscript SHARED ${SOURCE})
|
||||||
set_module_type(jscript win32dll)
|
set_module_type(jscript win32dll)
|
||||||
|
|
||||||
target_link_libraries(jscript wine)
|
target_link_libraries(jscript wine)
|
||||||
|
if(MSVC)
|
||||||
|
target_link_libraries(jscript uuid)
|
||||||
|
endif()
|
||||||
|
|
||||||
add_importlibs(jscript
|
add_importlibs(jscript
|
||||||
msvcrt
|
msvcrt
|
||||||
|
|
Loading…
Reference in a new issue