From a810400d9859c47cb7de6b2db370e554269c3c30 Mon Sep 17 00:00:00 2001 From: Ensiform Date: Fri, 3 Nov 2017 20:38:37 -0500 Subject: [PATCH] Revert "Shared: Add DPI awareness manifest" This reverts commit 5de573542ed0b5df83c9559c50edd8985546627f. --- code/CMakeLists.txt | 8 -------- codemp/CMakeLists.txt | 8 -------- shared/sys/win_manifest.xml | 37 ------------------------------------- 3 files changed, 53 deletions(-) delete mode 100644 shared/sys/win_manifest.xml diff --git a/code/CMakeLists.txt b/code/CMakeLists.txt index db401e70ea..34525c4542 100644 --- a/code/CMakeLists.txt +++ b/code/CMakeLists.txt @@ -416,14 +416,6 @@ if(BuildSPEngine OR BuildJK2SPEngine) endif() endif(MakeApplicationBundles) - # add DPI awareness manifest - if(MSVC) - add_custom_command(TARGET ${ProjectName} POST_BUILD - COMMAND "mt.exe" -manifest \"${SharedDir}\\sys\\win_manifest.xml\" -inputresource:\"$\"\;\#1 -outputresource:\"$\"\;\#1 - COMMENT "Adding manifest..." - ) - endif() - set_target_properties(${ProjectName} PROPERTIES COMPILE_DEFINITIONS "${SPEngineDefines}") # Hide symbols not explicitly marked public. diff --git a/codemp/CMakeLists.txt b/codemp/CMakeLists.txt index c2bcbe7e45..2bd4aa4028 100644 --- a/codemp/CMakeLists.txt +++ b/codemp/CMakeLists.txt @@ -577,14 +577,6 @@ if(BuildMPEngine) endif(MakeApplicationBundles) endif(WIN32) - # add DPI awareness manifest - if(MSVC) - add_custom_command(TARGET ${MPEngine} POST_BUILD - COMMAND "mt.exe" -manifest \"${SharedDir}\\sys\\win_manifest.xml\" -inputresource:\"$\"\;\#1 -outputresource:\"$\"\;\#1 - COMMENT "Adding manifest..." - ) - endif() - if(MakeApplicationBundles) install(TARGETS ${MPEngine} BUNDLE diff --git a/shared/sys/win_manifest.xml b/shared/sys/win_manifest.xml deleted file mode 100644 index 2d4412e1e6..0000000000 --- a/shared/sys/win_manifest.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - True/PM - PerMonitorV2, PerMonitor - - - \ No newline at end of file