diff --git a/Source/cmWin32DefinesRule.cxx b/Source/cmWin32DefinesRule.cxx index 8927ff6e4..aa293de97 100644 --- a/Source/cmWin32DefinesRule.cxx +++ b/Source/cmWin32DefinesRule.cxx @@ -5,7 +5,7 @@ cmWin32DefinesRule::cmWin32DefinesRule() { #ifndef _WIN32 - this->SetEnableOff(); + this->EnabledOff(); #endif } diff --git a/Source/cmWin32LibrariesRule.cxx b/Source/cmWin32LibrariesRule.cxx index bb32110b8..117c87ea5 100644 --- a/Source/cmWin32LibrariesRule.cxx +++ b/Source/cmWin32LibrariesRule.cxx @@ -2,7 +2,7 @@ cmWin32LibrariesRule::cmWin32LibrariesRule() { #ifndef _WIN32 - this->SetEnableOff(); + this->EnabledOff(); #endif }