summaryrefslogtreecommitdiffstats
path: root/Source/cmTestsCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmTestsCommand.cxx')
-rw-r--r--Source/cmTestsCommand.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTestsCommand.cxx b/Source/cmTestsCommand.cxx
index d3d8519..39416ee 100644
--- a/Source/cmTestsCommand.cxx
+++ b/Source/cmTestsCommand.cxx
@@ -44,6 +44,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
bool cmTestsCommand::InitialPass(std::vector<std::string>& args)
{
// does nothing in CMake
+ this->SetError("The TEST command is deprecated, please use ADD_TEST instead.");
return true;
}