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