From ae51aa32f0589e4f5fc9a251a5be534cba631876 Mon Sep 17 00:00:00 2001 From: Gabor Bencze Date: Wed, 21 Aug 2019 20:56:02 +0200 Subject: cmCommand refactor: cmVariableRequiresCommand --- Source/cmCommands.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Source/cmCommands.cxx') diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx index ad14c6be3b..028552586e 100644 --- a/Source/cmCommands.cxx +++ b/Source/cmCommands.cxx @@ -326,8 +326,7 @@ void GetProjectCommands(cmState* state) "utility_source", cmUtilitySourceCommand, cmPolicies::CMP0034, "The utility_source command should not be called; see CMP0034."); state->AddDisallowedCommand( - "variable_requires", cm::make_unique(), - cmPolicies::CMP0035, + "variable_requires", cmVariableRequiresCommand, cmPolicies::CMP0035, "The variable_requires command should not be called; see CMP0035."); #endif } -- cgit v1.2.1