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