diff --git a/src/common/Themes/theme_helpers.cpp b/src/common/Themes/theme_helpers.cpp index c00bd92f76..4357a38228 100644 --- a/src/common/Themes/theme_helpers.cpp +++ b/src/common/Themes/theme_helpers.cpp @@ -3,6 +3,7 @@ #include "dwmapi.h" #include #include +#pragma comment (lib,"Dwmapi.lib") #define DWMWA_USE_IMMERSIVE_DARK_MODE 20 #define HKEY_WINDOWS_THEME L"Software\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize"