soci: fix audit
parent
27a88dc8a9
commit
a3fe7bfc94
|
@ -28,7 +28,7 @@ class Soci < Formula
|
||||||
args = std_cmake_args + %w{.. -DWITH_SQLITE3:BOOL=ON}
|
args = std_cmake_args + %w{.. -DWITH_SQLITE3:BOOL=ON}
|
||||||
|
|
||||||
%w{boost mysql oracle odbc pg}.each do |a|
|
%w{boost mysql oracle odbc pg}.each do |a|
|
||||||
bool = build.include?("with-#{a}") ? "ON" : "OFF"
|
bool = build.with?(a) ? "ON" : "OFF"
|
||||||
args << "-DWITH_#{translate(a).upcase}:BOOL=#{bool}"
|
args << "-DWITH_#{translate(a).upcase}:BOOL=#{bool}"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue