summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorprotomors <protomors@gmail.com>2018-06-02 11:01:17 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-07-12 18:09:25 +0300
commitf118873f790b634e855b7b7637a1e837bd578fac (patch)
tree2c0703751d553760d210ccf68f6a51ad3c468d4e /include
parentd865b2130712f8c9300ccebcf1f5542e41edaaac (diff)
CMake: reduced dependency from prebult libraries.
Diffstat (limited to 'include')
-rw-r--r--include/m_core.h8
-rw-r--r--include/newpluginapi.h8
2 files changed, 0 insertions, 16 deletions
diff --git a/include/m_core.h b/include/m_core.h
index 086b78cbb7..182b3f1ff3 100644
--- a/include/m_core.h
+++ b/include/m_core.h
@@ -582,12 +582,4 @@ inline int mir_vsnwprintf(_Pre_notnull_ _Always_(_Post_z_) wchar_t(&buffer)[_Siz
#endif
-#ifndef MIR_CORE_EXPORTS
- #pragma comment(lib, "mir_core.lib")
-#endif
-
-#ifndef MIR_APP_EXPORTS
- #pragma comment(lib, "mir_app.lib")
-#endif
-
#endif // M_CORE_H
diff --git a/include/newpluginapi.h b/include/newpluginapi.h
index 153da7936e..94e708d6a6 100644
--- a/include/newpluginapi.h
+++ b/include/newpluginapi.h
@@ -501,14 +501,6 @@ public:
template<class P>
OBJLIST<P> ACCPROTOPLUGIN<P>::g_arInstances(1, PtrKeySortT);
-#ifndef __NO_CMPLUGIN_NEEDED
-#ifdef _DEBUG
-#pragma comment(lib, "cmstubd.lib")
-#else
-#pragma comment(lib, "cmstub.lib")
-#endif
-#endif
-
EXTERN_C MIR_APP_DLL(HINSTANCE) GetInstByAddress(void* codePtr);
EXTERN_C MIR_APP_DLL(CMPluginBase&) GetPluginByInstance(HINSTANCE hInst);