anchor.diff:          --subst-var-by glibc_lib ${getLib glibc}
       '';
     configureFlags =
  -    [ "--docdir=/share/doc/${name}"
  +    [ "--docdir=share/doc/${name}"
         "--no-system-jsoncpp"
       ]
       ++ optional (!stdenv.isCygwin) "--system-libs"
  
positive.code:     optional (stdenv ? glibc) ./search-path-3.2.patch
      ++ optional stdenv.isCygwin ./3.2.2-cygwin.patch;
  
    outputs = [ "out" "doc" ];
    setOutputFlags = false;
  
    setupHook = ./setup-hook.sh;
  
negative.code: 
    enableParallelBuilding = true;
  
    meta = with stdenv.lib; {
      homepage = http://www.cmake.org/;
      description = "Cross-Platform Makefile Generator";
  