[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:
Amine Khaldi
2014-09-11 11:03:20 +00:00
parent 8a8c6273fc
commit b758e85060
@@ -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)