Author: akhaldi
Date: Wed Apr 3 22:03:06 2013
New Revision: 58667
URL:
http://svn.reactos.org/svn/reactos?rev=58667&view=rev
Log:
* Fix the unix build.
Modified:
trunk/reactos/dll/win32/jscript/CMakeLists.txt
Modified: trunk/reactos/dll/win32/jscript/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/jscript/CMakeLis…
==============================================================================
--- trunk/reactos/dll/win32/jscript/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/jscript/CMakeLists.txt [iso-8859-1] Wed Apr 3 22:03:06 2013
@@ -37,12 +37,17 @@
regexp.c
string.c
vbarray.c
- rsrc.rc
${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)
-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)
target_link_libraries(jscript wine)
add_importlibs(jscript user32 ole32 oleaut32 advapi32 msvcrt kernel32 ntdll)