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 #############################################################################