summaryrefslogtreecommitdiff
path: root/Debian/Debhelper/Buildsystem/cmake.pm
diff options
context:
space:
mode:
authorModestas Vainius <modestas@vainius.eu>2009-06-29 19:11:42 +0300
committerModestas Vainius <modestas@vainius.eu>2009-06-30 00:53:06 +0300
commitc8ad61cdba0348c1d1ea1000b99ba83496b71bf1 (patch)
tree1de475a34079073a11f7f94d6012007477a39e73 /Debian/Debhelper/Buildsystem/cmake.pm
parentafabee81e04c52cae5cbf55b8ba4566659505e9b (diff)
Rename enforce_out_of_source_building() to prefer_
Also add enforce_out_of_source_building() for clarity which does not take any parameters. Now both have a clear name and no confusing parameter combinations. Signed-off-by: Modestas Vainius <modestas@vainius.eu>
Diffstat (limited to 'Debian/Debhelper/Buildsystem/cmake.pm')
-rw-r--r--Debian/Debhelper/Buildsystem/cmake.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/Debian/Debhelper/Buildsystem/cmake.pm b/Debian/Debhelper/Buildsystem/cmake.pm
index fe97f77..1679651 100644
--- a/Debian/Debhelper/Buildsystem/cmake.pm
+++ b/Debian/Debhelper/Buildsystem/cmake.pm
@@ -24,8 +24,7 @@ sub check_auto_buildable {
sub new {
my $class=shift;
my $this=$class->SUPER::new(@_);
- # Prefer out of source tree building.
- $this->enforce_out_of_source_building(@_);
+ $this->prefer_out_of_source_building(@_);
return $this;
}