VS_DPI_AWARE
Установите параметр «Сведения о DPI» в свойствах проекта Visual Studio цели в разделе «Инструмент манифеста» -> «Вход и выход».
Допустимые значения — PerMonitor, ON, или OFF.
Например:
add_executable(myproject myproject.cpp) set_property(TARGET myproject PROPERTY VS_DPI_AWARE "PerMonitor")
© 2000–2020 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.17/prop_tgt/VS_DPI_AWARE.html