We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f47124c commit 981b474Copy full SHA for 981b474
cmake/configure.pl
@@ -125,7 +125,7 @@ sub check_compiler
125
foreach my $p (@plugins)
126
{
127
$p =~ s/-/_/g;
128
- $cmakeargs = $cmakeargs." -DWITH_".uc($p)."=1";
+ $cmakeargs = $cmakeargs." -DWITH_".uc($p)."=AUTO";
129
}
130
next;
131
@@ -137,7 +137,12 @@ sub check_compiler
137
138
if($option =~ /without-plugin=/ || $option =~ /without-plugin-/)
139
140
- $cmakeargs = $cmakeargs." -DWITHOUT_".uc(substr($option,15))."=1";
+ $cmakeargs = $cmakeargs." -DPLUGIN_".uc(substr($option,15))."=NO";
141
+ next;
142
+ }
143
+ if($option =~ /with-plugin-(.*)=(.*)/)
144
+ {
145
+ $cmakeargs = $cmakeargs." -DPLUGIN_".uc($1)."=".uc($2);
146
147
148
if($option =~ /with-zlib-dir=bundled/)
0 commit comments