---- qhull-2011.1/CMakeLists.txt	2011-04-18 02:38:33.000000000 +0200
-+++ qhull-2011.1/CMakeLists.txt	2011-04-25 10:58:47.847164000 +0200
+--- qhull-2011.1/CMakeLists.txt	2011-04-17 17:38:33.000000000 -0700
++++ qhull-2011.1/CMakeLists.txt	2011-04-25 17:17:13.000000000 -0700
 @@ -10,7 +10,7 @@
  # $Id: //main/2011/qhull/CMakeLists.txt#9 $$Change: 1373 $
  # $DateTime: 2011/04/17 22:20:48 $$Author: bbarber $

+    COMPILE_FLAGS ${CMAKE_CXX_FLAGS_DEBUG}
+    VERSION ${qhull_VERSION})
+
+target_link_libraries(${qhull_SHARED} m)
+target_link_libraries(${qhull_SHARED_DEBUG} m)
 
 if(UNIX)
     if(APPLE)

         qhull rbox qconvex qdelaunay qvoronoi qhalf
         user_eg user_eg2 user_eg3
 )
@@ -188,17 +188,34 @@
     COMPILE_DEFINITIONS "qh_QHpointer"
     VERSION ${qhull_VERSION})
 
