diff --git a/CMakeLists.txt b/CMakeLists.txt index 727aa186..2c6c8694 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,8 @@ cmake_minimum_required(VERSION 3.5) # disable testsuite in that case if(NOT DEFINED PROJECT_NAME) set(NOT_SUBPROJECT ON) +else() + set(NOT_SUBPROJECT OFF) endif() # Catch2's build breaks if done in-tree. You probably should not build