Blame SOURCES/0001-Link-executables-against-shared-libs.patch

918c7e
From 3bb42e375672d48f3d8a074396bcd025ab1a6043 Mon Sep 17 00:00:00 2001
918c7e
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corsepiu@fedoraproject.org>
918c7e
Date: Wed, 27 Apr 2016 08:05:53 +0200
918c7e
Subject: [PATCH 1/2] Link executables against shared libs.
918c7e
918c7e
---
918c7e
 CMakeLists.txt | 12 ++++++------
918c7e
 1 file changed, 6 insertions(+), 6 deletions(-)
918c7e
918c7e
diff --git a/CMakeLists.txt b/CMakeLists.txt
918c7e
index 59dff41..df26bd0 100644
918c7e
--- a/CMakeLists.txt
918c7e
+++ b/CMakeLists.txt
918c7e
@@ -477,22 +477,22 @@ set(qvoronoi_SOURCES    src/qvoronoi/qvoronoi.c)
918c7e
 set(qhalf_SOURCES       src/qhalf/qhalf.c)
918c7e
 
918c7e
 add_executable(qhull ${qhull_SOURCES})
918c7e
-target_link_libraries(qhull ${qhull_STATICR})
918c7e
+target_link_libraries(qhull ${qhull_SHAREDR})
918c7e
 
918c7e
 add_executable(rbox ${rbox_SOURCES})
918c7e
-target_link_libraries(rbox ${qhull_STATIC})
918c7e
+target_link_libraries(rbox ${qhull_SHARED})
918c7e
 
918c7e
 add_executable(qconvex ${qconvex_SOURCES})
918c7e
-target_link_libraries(qconvex ${qhull_STATIC})
918c7e
+target_link_libraries(qconvex ${qhull_SHARED})
918c7e
 
918c7e
 add_executable(qdelaunay ${qdelaunay_SOURCES})
918c7e
-target_link_libraries(qdelaunay ${qhull_STATIC})
918c7e
+target_link_libraries(qdelaunay ${qhull_SHARED})
918c7e
 
918c7e
 add_executable(qvoronoi ${qvoronoi_SOURCES})
918c7e
-target_link_libraries(qvoronoi ${qhull_STATIC})
918c7e
+target_link_libraries(qvoronoi ${qhull_SHARED})
918c7e
 
918c7e
 add_executable(qhalf ${qhalf_SOURCES})
918c7e
-target_link_libraries(qhalf ${qhull_STATIC})
918c7e
+target_link_libraries(qhalf ${qhull_SHARED})
918c7e
 
918c7e
 # ---------------------------------------
918c7e
 # Define options for linking to qhull_SHAREDR or qhull_SHARED
918c7e
-- 
918c7e
2.21.0
918c7e