mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 06:16:38 +00:00
* Fix the unix build.
svn path=/trunk/; revision=58667
This commit is contained in:
parent
ec92213735
commit
a490eca5f6
1 changed files with 8 additions and 3 deletions
|
@ -37,12 +37,17 @@ list(APPEND SOURCE
|
||||||
regexp.c
|
regexp.c
|
||||||
string.c
|
string.c
|
||||||
vbarray.c
|
vbarray.c
|
||||||
rsrc.rc
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/jscript.def)
|
${CMAKE_CURRENT_BINARY_DIR}/jscript.def)
|
||||||
|
|
||||||
add_library(jscript SHARED ${SOURCE})
|
add_library(jscript SHARED ${SOURCE} rsrc.rc)
|
||||||
add_idl_headers(jscript_idlheader jscript_classes.idl)
|
add_idl_headers(jscript_idlheader jscript_classes.idl)
|
||||||
allow_warnings(jscript)
|
|
||||||
|
if(NOT MSVC)
|
||||||
|
# FIXME: http://www.cmake.org/Bug/view.php?id=12998
|
||||||
|
#allow_warnings(jscript)
|
||||||
|
set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-error")
|
||||||
|
endif()
|
||||||
|
|
||||||
set_module_type(jscript win32dll)
|
set_module_type(jscript win32dll)
|
||||||
target_link_libraries(jscript wine)
|
target_link_libraries(jscript wine)
|
||||||
add_importlibs(jscript user32 ole32 oleaut32 advapi32 msvcrt kernel32 ntdll)
|
add_importlibs(jscript user32 ole32 oleaut32 advapi32 msvcrt kernel32 ntdll)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue