diff options
| author | 2022-04-29 11:27:05 +0200 | |
|---|---|---|
| committer | 2022-04-29 11:27:05 +0200 | |
| commit | 97fa9183c28f63dd37572a266a9c56e556c3660b (patch) | |
| tree | 2487261c8acc390837a19e19c826429e0fc2566e /CMakeLists.txt | |
| parent | b5c91675be7b61b90d4f189f8e44337a6eb53fab (diff) | |
| download | OneRoll-97fa9183c28f63dd37572a266a9c56e556c3660b.tar.gz OneRoll-97fa9183c28f63dd37572a266a9c56e556c3660b.zip | |
Using BUILD_TESTING from CTest.
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
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() |