diff --git a/examples/buckling/CMakeLists.txt b/examples/buckling/CMakeLists.txt index ec651524e..c67b60419 100644 --- a/examples/buckling/CMakeLists.txt +++ b/examples/buckling/CMakeLists.txt @@ -4,7 +4,7 @@ # # SPDX-License-Identifier: (BSD-3-Clause) -if(TRIBOL_FOUND) +if(TRIBOL_FOUND AND PETSC_FOUND) blt_add_executable( NAME buckling_cylinder SOURCES cylinder.cpp OUTPUT_DIR ${EXAMPLE_OUTPUT_DIRECTORY}