2020-02-01 23:06:01 +01:00
|
|
|
VS_DPI_AWARE
|
|
|
|
------------
|
|
|
|
|
2021-09-14 00:13:48 +02:00
|
|
|
.. versionadded:: 3.16
|
|
|
|
|
2020-02-01 23:06:01 +01:00
|
|
|
Set the Manifest Tool -> Input and Output -> DPI Awareness in the Visual Studio
|
|
|
|
target project properties.
|
|
|
|
|
|
|
|
Valid values are ``PerMonitor``, ``ON``, or ``OFF``.
|
|
|
|
|
|
|
|
For example:
|
|
|
|
|
|
|
|
.. code-block:: cmake
|
|
|
|
|
|
|
|
add_executable(myproject myproject.cpp)
|
|
|
|
set_property(TARGET myproject PROPERTY VS_DPI_AWARE "PerMonitor")
|