diff --git a/Formula/corrade.rb b/Formula/corrade.rb
index ee17313..afac545 100644
--- a/Formula/corrade.rb
+++ b/Formula/corrade.rb
@@ -12,8 +12,7 @@ def install
     system "mkdir build"
     cd "build" do
       system "cmake",
-        "-DCMAKE_BUILD_TYPE=Release",
-        "-DCMAKE_INSTALL_PREFIX=#{prefix}",
+        *std_cmake_args,
         ".."
       system "cmake", "--build", "."
       system "cmake", "--build", ".", "--target", "install"
diff --git a/Formula/magnum-bindings.rb b/Formula/magnum-bindings.rb
index 0f94db8..f2aa826 100644
--- a/Formula/magnum-bindings.rb
+++ b/Formula/magnum-bindings.rb
@@ -15,8 +15,7 @@ def install
     system "mkdir build"
     cd "build" do
       system "cmake",
-        "-DCMAKE_BUILD_TYPE=Release",
-        "-DCMAKE_INSTALL_PREFIX=#{prefix}",
+        *std_cmake_args,
         "-DWITH_PYTHON=ON",
         ".."
       system "cmake", "--build", "."
diff --git a/Formula/magnum-examples.rb b/Formula/magnum-examples.rb
index 73f9693..e20b2e5 100644
--- a/Formula/magnum-examples.rb
+++ b/Formula/magnum-examples.rb
@@ -25,8 +25,7 @@ def install
       # https://github.com/Homebrew/homebrew-core/pull/4482 and nothing
       # happened with https://github.com/erincatto/Box2D/issues/431 yet
       system "cmake",
-        "-DCMAKE_BUILD_TYPE=Release",
-        "-DCMAKE_INSTALL_PREFIX=#{prefix}",
+      *std_cmake_args,
         "-DWITH_ANIMATED_GIF_EXAMPLE=ON",
         "-DWITH_ARCBALL_EXAMPLE=ON",
         "-DWITH_AREALIGHTS_EXAMPLE=ON",
diff --git a/Formula/magnum-extras.rb b/Formula/magnum-extras.rb
index da329a7..d3f71a4 100644
--- a/Formula/magnum-extras.rb
+++ b/Formula/magnum-extras.rb
@@ -13,8 +13,7 @@ def install
     system "mkdir build"
     cd "build" do
       system "cmake",
-        "-DCMAKE_BUILD_TYPE=Release",
-        "-DCMAKE_INSTALL_PREFIX=#{prefix}",
+        *std_cmake_args,
         "-DWITH_PLAYER=ON",
         "-DWITH_UI=ON",
         "-DWITH_UI_GALLERY=ON",
diff --git a/Formula/magnum-integration.rb b/Formula/magnum-integration.rb
index 5901097..bafa94f 100644
--- a/Formula/magnum-integration.rb
+++ b/Formula/magnum-integration.rb
@@ -24,8 +24,7 @@ def install
     system "mkdir build"
     cd "build" do
       system "cmake",
-        "-DCMAKE_BUILD_TYPE=Release",
-        "-DCMAKE_INSTALL_PREFIX=#{prefix}",
+        *std_cmake_args,
         "-DWITH_BULLET=#{(build.with? 'bullet') ? 'ON' : 'OFF'}",
         "-DWITH_DART=#{(build.with? 'dartsim') ? 'ON' : 'OFF'}",
         "-DWITH_EIGEN=#{(build.with? 'eigen') ? 'ON' : 'OFF'}",
diff --git a/Formula/magnum-plugins.rb b/Formula/magnum-plugins.rb
index 923f6e9..3f86a68 100644
--- a/Formula/magnum-plugins.rb
+++ b/Formula/magnum-plugins.rb
@@ -43,8 +43,7 @@ def install
     system "mkdir build"
     cd "build" do
       system "cmake",
-        "-DCMAKE_BUILD_TYPE=Release",
-        "-DCMAKE_INSTALL_PREFIX=#{prefix}",
+        *std_cmake_args,
         "-DWITH_ASSIMPIMPORTER=#{(build.with? 'assimp') ? 'ON' : 'OFF'}",
         "-DWITH_BASISIMAGECONVERTER=ON",
         "-DWITH_BASISIMPORTER=ON",
diff --git a/Formula/magnum.rb b/Formula/magnum.rb
index ab95ad8..32e15de 100644
--- a/Formula/magnum.rb
+++ b/Formula/magnum.rb
@@ -15,8 +15,7 @@ def install
     system "mkdir build"
     cd "build" do
       system "cmake",
-        "-DCMAKE_BUILD_TYPE=Release",
-        "-DCMAKE_INSTALL_PREFIX=#{prefix}",
+        *std_cmake_args,
         "-DMAGNUM_PLUGINS_DIR=#{HOMEBREW_PREFIX}/lib/magnum",
         "-DWITH_AUDIO=ON",
         "-DWITH_GLFWAPPLICATION=ON",