Windows: Link to Dwmapi.lib via pragma

So I don't have to figure out some exotic non-cmake build systems

It's more self-contained this way anyway.
This commit is contained in:
Sergio Martins
2021-06-16 12:41:40 +01:00
parent 77279d21ef
commit 759cf33f08

View File

@@ -33,6 +33,7 @@
# include <windows.h>
# include <dwmapi.h>
# if defined(Q_CC_MSVC)
# pragma comment(lib,"Dwmapi.lib")
# pragma comment(lib,"User32.lib")
# endif
#endif