--- a/VTK/Utilities/KWSys/vtksys/CMakeLists.txt	2020-08-30 14:24:27.200081977 +0200
+++ b/VTK/Utilities/KWSys/vtksys/CMakeLists.txt	2020-08-30 14:26:38.533088752 +0200
@@ -592,7 +592,8 @@
     # check for simple stack trace
     # usually it's in libc but on FreeBSD
     # it's in libexecinfo
-    FIND_LIBRARY(EXECINFO_LIB "execinfo")
+    FIND_PACKAGE(PkgConfig REQUIRED)
+    PKG_CHECK_MODULES(EXECINFO IMPORTED_TARGET libexecinfo)
     MARK_AS_ADVANCED(EXECINFO_LIB)
     IF (NOT EXECINFO_LIB)
       SET(EXECINFO_LIB "")
