Formula/cmake.rb
def install
    # Reduce memory usage below 4 GB for Circle CI.
    ENV.deparallelize if ENV["CIRCLECI"]

    ENV.cxx11 unless OS.mac?

    args = %W[
      --prefix=#{prefix}
      --no-system-libs
      --parallel=#{ENV.make_jobs}
      --datadir=/share/cmake
      --docdir=/share/doc/cmake
      --mandir=/share/man
      --sphinx-build=#{Formula["sphinx-doc"].opt_bin}/sphinx-build
      --sphinx-html
      --sphinx-man
      --system-zlib
      --system-bzip2
      --system-curl
    ]
    args -= ["--system-zlib", "--system-bzip2", "--system-curl"] unless OS.mac?

    # There is an existing issue around macOS & Python locale setting
    # See https://bugs.python.org/issue18378#msg215215 for explanation
    ENV["LC_ALL"] = "en_US.UTF-8"

    system "./bootstrap", *args, "--", "-DCMAKE_BUILD_TYPE=Release"
    system "make"
    system "make", "install"

    elisp.install "Auxiliary/cmake-mode.el"
  end
# The `with-qt` GUI option was removed due to circular dependencies if
# CMake is built with Qt support and Qt is built with MySQL support as MySQL uses CMake.
# For the GUI application please instead use `brew cask install cmake`.
The `with-qt` GUI option was removed due to circular dependencies if
CMake is built with Qt support and Qt is built with MySQL support as MySQL uses CMake.
For the GUI application please instead use `brew cask install cmake`.
The ` with - qt ` GUI option was removed due to circular dependencies if CMake is built with Qt support and Qt is built with MySQL support as MySQL uses CMake . For the GUI application please instead use ` brew cask install cmake ` .
def install
    ENV.deparallelize if ENV["CIRCLECI"]
    ENV.cxx11 unless OS.mac?
    args = %W[
      --prefix=#{prefix}
      --no-system-libs
      --parallel=#{ENV.make_jobs}
      --datadir=/share/cmake
      --docdir=/share/doc/cmake
      --mandir=/share/man
      --sphinx-build=#{Formula["sphinx-doc"].opt_bin}/sphinx-build
      --sphinx-html
      --sphinx-man
      --system-zlib
      --system-bzip2
      --system-curl
    ]
    args -= ["--system-zlib", "--system-bzip2", "--system-curl"] unless OS.mac?
    ENV["LC_ALL"] = "en_US.UTF-8"
    system "./bootstrap", *args, "--", "-DCMAKE_BUILD_TYPE=Release"
    system "make"
    system "make", "install"
    elisp.install "Auxiliary/cmake-mode.el"
  end
def install ENV . deparallelize if ENV [ "CIRCLECI" ] ENV . cxx11 unless OS . mac? args = %W[ --prefix= #{ prefix } --no-system-libs --parallel= #{ ENV . make_jobs } --datadir=/share/cmake --docdir=/share/doc/cmake --mandir=/share/man --sphinx-build= #{ Formula [ "sphinx-doc" ] . opt_bin } /sphinx-build --sphinx-html --sphinx-man --system-zlib --system-bzip2 --system-curl ] args -= [ "--system-zlib" , "--system-bzip2" , "--system-curl" ] unless OS . mac? ENV [ "LC_ALL" ] = "en_US.UTF-8" system "./bootstrap" , * args , "--" , "-DCMAKE_BUILD_TYPE=Release" system "make" system "make" , "install" elisp . install "Auxiliary/cmake-mode.el" end
The `with-qt` GUI option was removed due to circular dependencies if
CMake is built with Qt support and Qt is built with MySQL support as MySQL uses CMake.
The ` with - qt ` GUI option was removed due to circular dependencies if CMake is built with Qt support and Qt is built with MySQL support as MySQL uses CMake .
# Reduce memory usage below 4 GB for Circle CI. # There is an existing issue around macOS & Python locale setting # See https://bugs.python.org/issue18378#msg215215 for explanation