From 32137b35e3a55591a86edb6a201a30cf4deb84c1 Mon Sep 17 00:00:00 2001 From: Francesco Borzì Date: Sun, 29 Nov 2020 19:31:50 +0100 Subject: docs: align test build (#298) --- docs/unit-testing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/unit-testing.md b/docs/unit-testing.md index ef28ada..f889213 100644 --- a/docs/unit-testing.md +++ b/docs/unit-testing.md @@ -2,7 +2,7 @@ ## How to compile and run the AC unit tests -1. You have to compile your core by passing `-DUNIT_TESTS=1` in your `cmake` command. +1. You have to compile your core by passing `-DBUILD_TESTING=1` in your `cmake` command. For example: @@ -10,7 +10,7 @@ For example: cd azerothcore mkdir build cd build -cmake ../ -DWITH_WARNINGS=1 -DTOOLS=0 -DSCRIPTS=1 -DUNIT_TESTS=1 +cmake ../ -DWITH_WARNINGS=1 -DTOOLS=0 -DSCRIPTS=1 -DBUILD_TESTING=1 make install -j 6 ``` -- cgit