[osg-users] Windows 8.1 DPI-aware scaling: Problem and solution

Paul McIntosh paul.mcintosh at internetscooter.com
Tue May 17 03:47:17 PDT 2016

Hi Björn,

Thanks for the info but sorry I am having trouble getting this to work (CMake 3.4.0)...

CMake Error at CMakeLists.txt:1353 (ADD_CUSTOM_COMMAND):
  add_custom_command Wrong syntax.  A TARGET or OUTPUT must be specified.

I copied dpiawarescaleing.manifest and CMakeMainifest.txt to the OSG based dir and appended it to CMakeLists.txt

cat CMakeMainifest.txt >> CMakeLists.txt

> If you are amending manifests to DLL-files you will need to change the #1 to #2 in the CMAKE example above. 

I only see #1 is the code incomplete?



Read this topic online here:

More information about the osg-users mailing list