mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[OLEAUT32]
* Link with mingwex. * Fall back to gas with vartype.c until http://llvm.org/bugs/show_bug.cgi?id=19027 is fixed. CORE-8516 svn path=/trunk/; revision=64116
This commit is contained in:
@@ -49,6 +49,12 @@ add_library(oleaut32 SHARED
|
||||
${CMAKE_CURRENT_BINARY_DIR}/oleaut32_ocidl_p.c
|
||||
${CMAKE_CURRENT_BINARY_DIR}/oleaut32.def)
|
||||
|
||||
if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
||||
target_link_libraries(oleaut32 mingwex)
|
||||
#FIXME: http://llvm.org/bugs/show_bug.cgi?id=19027
|
||||
set_property(SOURCE vartype.c APPEND_STRING PROPERTY COMPILE_FLAGS " -no-integrated-as")
|
||||
endif()
|
||||
|
||||
add_idl_headers(oleaut32_idlheader oleaut32_oaidl.idl)
|
||||
add_dependencies(oleaut32 oleaut32_idlheader)
|
||||
set_module_type(oleaut32 win32dll)
|
||||
|
||||
Reference in New Issue
Block a user