diff --git a/src/csg/CMakeLists.txt b/src/csg/CMakeLists.txt index 867d42d629f27a4e9a09886cba6bf84a6028d000..4807a8cf914ce6221840f3cc028c9e1c29dc5090 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()