title: cmake with cl: invalid numeric argument '/Wno-uninitialized'
body: <p>The closest I could find was <a href="https://stackoverflow.com/questions/2274006/cmake-invalid-numeric-argument-wextra">cmake invalid numeric argument &#39;/Wextra&#39;</a> but I don't know where to add proposed text to CMakeLists.txt...</p>
  
  <p>I'm building ITK 4.5.1 on a Windows 7 64 bit machine, using MSVC 2010.</p>
  
  <p>When configuring, I get the following error. Thank you for any hint.</p>
  
  <pre><code>1&gt; Microsoft (R) Visual Studio Version 10.0.40219.1.
  
  1&gt;------ Build started: Project: cmTryCompileExec91952967, Configuration: Debug x64 ------
  
  1&gt;Build started 17/02/2014 16:26:13.
  
  1&gt;PrepareForBuild:
  
  1&gt;  Creating directory "C:\ITK\build\CMakeFiles\CMakeTmp\Debug\".
  
  1&gt;InitializeBuildStatus:
  
  1&gt;  Creating "cmTryCompileExec91952967.dir\Debug\cmTryCompileExec91952967.unsuccessfulbuild" because "AlwaysCreate" was specified.
  
  1&gt;ClCompile:
  
  1&gt;  Microsoft (R) C/C++ Optimizing Compiler Version 16.00.40219.01 for x64
  
  1&gt;  cl /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D "C_HAS_WARNING-Wno-uninitialized" /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec91952967.dir\Debug\\" /Fd"cmTryCompileExec91952967.dir\Debug\vc100.pdb" /Gd /TC /errorReport:prompt src.c  -Wno-uninitialized 
  
  1&gt;cl : Command line error D8021: invalid numeric argument '/Wno-uninitialized'
  </code></pre>