mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-04 05:55:47 -07:00
Add oleaut32 library support and remove unnecessary pragma comment
This commit is contained in:
parent
91df65d64c
commit
59ff5d912f
3 changed files with 10 additions and 5 deletions
|
|
@ -587,6 +587,14 @@ extern_lib_defs = {
|
|||
})
|
||||
end,
|
||||
},
|
||||
oleaut32 = {
|
||||
link_settings = function()
|
||||
add_default_links({
|
||||
win_names = { "oleaut32" },
|
||||
dbg_suffix = ""
|
||||
})
|
||||
end,
|
||||
},
|
||||
openal = {
|
||||
compile_settings = function()
|
||||
if os.istarget("windows") then
|
||||
|
|
|
|||
|
|
@ -1042,6 +1042,8 @@ used_extern_libs = {
|
|||
"freetype",
|
||||
|
||||
"valgrind",
|
||||
|
||||
"oleaut32",
|
||||
}
|
||||
|
||||
if not os.istarget("windows") and not _OPTIONS["android"] and not os.istarget("macosx") then
|
||||
|
|
|
|||
|
|
@ -31,11 +31,6 @@
|
|||
|
||||
#include <OAIdl.h> // VARIANT
|
||||
|
||||
#if MSC_VERSION
|
||||
# pragma comment(lib, "oleaut32.lib") // VariantChangeType
|
||||
#endif
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// fix omissions in the VC PSDK's dbghelp.h
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue