From 9fc6d2b0127ac0bb40bc09e0dfe609361c2f01aa Mon Sep 17 00:00:00 2001 From: Florian Albrechtskirchinger Date: Sat, 24 Sep 2022 11:57:52 +0200 Subject: [PATCH] Move CMake CI targets into tests section --- CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 667a7dbf1..f77b33870 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,11 +28,6 @@ include(json_info) # handle options and configuration include(json_opts) -# add CI targets -if(JSON_CI) - include(json_ci) -endif() - ############################################################################# # add library targets ############################################################################# @@ -90,6 +85,11 @@ if (JSON_BuildTests) add_subdirectory(tests) endif() +# add CI targets +if(JSON_CI) + include(json_ci) +endif() + ############################################################################# # install files and targets #############################################################################