[CMAKE] Don't set initial flags for Release build type, let us handle them ourselves.
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 23 May 2015 10:32:43 +0000 (10:32 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 23 May 2015 10:32:43 +0000 (10:32 +0000)
svn path=/trunk/; revision=67860

reactos/cmake/Platform/Windows-MSVC.cmake

index 3f32ff4..183f90f 100644 (file)
@@ -237,7 +237,7 @@ macro(__windows_compiler_msvc lang)
 
   set(CMAKE_${lang}_FLAGS_INIT "")
   set(CMAKE_${lang}_FLAGS_DEBUG_INIT "")
-  set(CMAKE_${lang}_FLAGS_RELEASE_INIT "/MD /O2 /Ob2 /D NDEBUG")
+  set(CMAKE_${lang}_FLAGS_RELEASE_INIT "")
   set(CMAKE_${lang}_FLAGS_RELWITHDEBINFO_INIT "/MD /Zi /O2 /Ob1 /D NDEBUG")
   set(CMAKE_${lang}_FLAGS_MINSIZEREL_INIT "/MD /O1 /Ob1 /D NDEBUG")
 endmacro()