From d26e34d09fa319e9486512f21917d2199f86d5a2 Mon Sep 17 00:00:00 2001
From: Tobias Leibner <tobias.leibner@googlemail.com>
Date: Thu, 24 Aug 2017 11:29:38 +0200
Subject: [PATCH] [cmake] Another try to link the right qhull libraries

---
 cmake/modules/FindQhull.cmake | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/cmake/modules/FindQhull.cmake b/cmake/modules/FindQhull.cmake
index e3dd9c05b..9612f6d98 100644
--- a/cmake/modules/FindQhull.cmake
+++ b/cmake/modules/FindQhull.cmake
@@ -7,12 +7,12 @@
 # Authors:
 #   Tobias Leibner (2017)
 
-message("-- checking for 'qhull' library")
-find_library(QHULL_LIBRARY qhull HINTS "${CMAKE_SOURCE_DIR}/../local/lib/")
+message("-- checking for 'qhullstatic_r' library")
+find_library(QHULL_LIBRARY qhullstatic_r HINTS "${CMAKE_SOURCE_DIR}/../local/lib/")
 if("${QHULL_LIBRARY}" MATCHES "QHULL_LIBRARY-NOTFOUND")
-	message("--   library 'qhull' not found")
+	message("--   library 'qhullstatic_r' not found")
 else("${QHULL_LIBRARY}" MATCHES "QHULL_LIBRARY-NOTFOUND")
-  message("--   found qhull library")
+  message("--   found qhullstatic_r library")
   set(Qhull_LIBRARIES "${QHULL_LIBRARY}")
 endif("${QHULL_LIBRARY}" MATCHES "QHULL_LIBRARY-NOTFOUND")
 
-- 
GitLab