summaryrefslogtreecommitdiff
path: root/Modules/CMakeCSharpInformation.cmake
diff options
context:
space:
mode:
authorMichael Stürmer <michael.stuermer@schaeffler.com>2017-06-14 11:30:43 +0200
committerMichael Stürmer <michael.stuermer@schaeffler.com>2017-06-16 09:33:06 +0200
commitec7b3af7e74defa608f4cb0debe329614c401635 (patch)
treedc3c5a83d82800045e4cfe05c70b7fab32a4d6d9 /Modules/CMakeCSharpInformation.cmake
parent22894747b423c7a634addd7ca80b73eb70947d88 (diff)
downloadcmake-ec7b3af7e74defa608f4cb0debe329614c401635.tar.gz
Vs: remove /nowin32manifest from C# flags to enable default VS behavior
if /nowin32manifest is specified, it will be preferred over any occurring /win32manifest:<file> parameter Fixes: #16969, #16970
Diffstat (limited to 'Modules/CMakeCSharpInformation.cmake')
-rw-r--r--Modules/CMakeCSharpInformation.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeCSharpInformation.cmake b/Modules/CMakeCSharpInformation.cmake
index cd86016270..d474c29418 100644
--- a/Modules/CMakeCSharpInformation.cmake
+++ b/Modules/CMakeCSharpInformation.cmake
@@ -10,7 +10,7 @@ get_filename_component(CMAKE_BASE_NAME "${CMAKE_CSharp_COMPILER}" NAME_WE)
set(CMAKE_BUILD_TYPE_INIT Debug)
-set(CMAKE_CSharp_FLAGS_INIT "/define:TRACE /langversion:3 /nowin32manifest")
+set(CMAKE_CSharp_FLAGS_INIT "/define:TRACE /langversion:3")
set(CMAKE_CSharp_FLAGS_DEBUG_INIT "/debug:full /optimize- /warn:3 /errorreport:prompt /define:DEBUG")
set(CMAKE_CSharp_FLAGS_RELEASE_INIT "/debug:none /optimize /warn:1 /errorreport:queue")
set(CMAKE_CSharp_FLAGS_RELWITHDEBINFO_INIT "/debug:full /optimize-")