diff --git a/Formula/mysql.rb b/Formula/mysql.rb index e8f5b8ab4b..b33fc4aba5 100644 --- a/Formula/mysql.rb +++ b/Formula/mysql.rb @@ -60,10 +60,6 @@ class Mysql < Formula # -DINSTALL_* are relative to `CMAKE_INSTALL_PREFIX` (`prefix`) args = %W[ - . - -DCMAKE_INSTALL_PREFIX=#{prefix} - -DCMAKE_FIND_FRAMEWORK=LAST - -DCMAKE_VERBOSE_MAKEFILE=ON -DMYSQL_DATADIR=#{datadir} -DINSTALL_INCLUDEDIR=include/mysql -DINSTALL_MANDIR=share/man @@ -108,7 +104,7 @@ class Mysql < Formula # Build with debug support args << "-DWITH_DEBUG=1" if build.with? "debug" - system "cmake", *args + system "cmake", ".", *std_cmake_args, *args system "make" system "make", "install"