From 00b32b823bdd08d48efa2e79bf44808e11011b6f Mon Sep 17 00:00:00 2001 From: Deepak Rangarajan Date: Tue, 23 Nov 2021 10:58:22 -0500 Subject: [PATCH] put tests under cmake flag --- src/csg/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/csg/CMakeLists.txt b/src/csg/CMakeLists.txt index 867d42d..4807a8c 100644 --- a/src/csg/CMakeLists.txt +++ b/src/csg/CMakeLists.txt @@ -29,4 +29,6 @@ if (CSG_CGAL_ENABLED) target_link_libraries(csg-eb PRIVATE CGAL::CGAL) endif() -add_subdirectory(tests) +if (BUILD_TESTING) + add_subdirectory(tests) +endif() -- GitLab