fix-flow-control-nesting.patch 787 B

1234567891011121314151617181920212223242526272829303132
  1. From e69c42386239bcc08143607df12b8bb3f1ff14ba Mon Sep 17 00:00:00 2001
  2. From: Bernd Waibel <waebbl-gentoo@posteo.net>
  3. Date: Wed, 24 Feb 2021 20:06:02 +0100
  4. Subject: [PATCH] adm/cmake/vtk.cmake: fix flow control nesting
  5. Fix an unbalanced nesting of flow control statements
  6. for >=cmake-3.20.0
  7. Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
  8. ---
  9. adm/cmake/vtk.cmake | 4 ++--
  10. 1 file changed, 2 insertions(+), 2 deletions(-)
  11. diff --git a/adm/cmake/vtk.cmake b/adm/cmake/vtk.cmake
  12. index c5692fd6..00b7ff4a 100644
  13. --- a/adm/cmake/vtk.cmake
  14. +++ b/adm/cmake/vtk.cmake
  15. @@ -156,8 +156,8 @@ if (VTK_FOUND)
  16. endif()
  17. endif()
  18. endif()
  19. - endif()
  20. - endforeach()
  21. + endforeach()
  22. + endif()
  23. endif()
  24. if (3RDPARTY_VTK_INCLUDE_DIRS)
  25. --
  26. 2.30.1