]> git.donarmstrong.com Git - debhelper.git/blobdiff - Debian/Debhelper/Buildsystem/cmake.pm
Less code in the build system classes to call enforce_out_of_source_building().
[debhelper.git] / Debian / Debhelper / Buildsystem / cmake.pm
index c2a3769dd37ce78de15eb22ae3b58bcba51a7130..1ccab10ec72ca9b46460e942725d90107e3a2200 100644 (file)
@@ -24,9 +24,8 @@ sub check_auto_buildable {
 sub new {
        my $class=shift;
        my $this=$class->SUPER::new(@_);
-       my %args=@_;
        # Prefer out of source tree building.
-       $this->enforce_out_of_source_building($args{builddir});
+       $this->enforce_out_of_source_building(@_);
        return $this;
 }