From 619c058929962b8c7a0b035c8aaf21f290ef6d9a Mon Sep 17 00:00:00 2001 From: Mikhail Kirilin Date: Tue, 16 Apr 2024 17:42:18 +0200 Subject: [PATCH] Fix 3d build for periodicity example --- example/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index 981233c38..289d3c33c 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -91,7 +91,9 @@ p4est_p8est_example(mesh mesh) p4est_p8est_example(simple simple) p4est_copy_resource(mesh conndebug.p8c) -p4est_example(periodicity3 mesh/periodicity3.c "mesh") +if(enable_p8est) + p4est_example(periodicity3 mesh/periodicity3.c "mesh") +endif() p4est_p8est_example(count_quadrants search)