43 lines
1.5 KiB
Diff
43 lines
1.5 KiB
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 09aa249..f1f4b50 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -353,7 +353,7 @@ endif()
|
|
|
|
set(
|
|
qhull_TARGETS_INSTALL
|
|
- ${qhull_CPP} ${qhull_STATIC} ${qhull_STATICR} ${qhull_SHAREDR}
|
|
+ ${qhull_CPP} ${qhull_SHAREDR}
|
|
qhull rbox qconvex qdelaunay qvoronoi qhalf
|
|
${qhull_SHARED} ${qhull_SHAREDP} # Deprecated, use qhull_r instead
|
|
)
|
|
@@ -485,22 +485,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
|