From 97fa9183c28f63dd37572a266a9c56e556c3660b Mon Sep 17 00:00:00 2001 From: Renaud G Date: Fri, 29 Apr 2022 11:27:05 +0200 Subject: Using BUILD_TESTING from CTest. --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 7c538e7..7198d92 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,12 +2,12 @@ cmake_minimum_required(VERSION 3.16) project(diceparser VERSION 1.9.0 DESCRIPTION "Parser of dice command") +include(CTest) -option(BUILD_CLI OFF) -option(TESTS OFF) +option(BUILD_CLI ON) option(NO_PAINTER_OPERATOR OFF) -IF(TESTS) +IF(BUILD_TESTING) enable_testing() ENDIF() -- cgit v1.2.3-70-g09d2