66 lines
2.3 KiB
Plaintext
66 lines
2.3 KiB
Plaintext
$OpenBSD: patch-CMakeLists_txt,v 1.2 2012/04/16 08:07:39 jasper Exp $
|
|
|
|
Do not create versioned executables.
|
|
|
|
--- CMakeLists.txt.orig Thu May 19 02:53:36 2011
|
|
+++ CMakeLists.txt Sat Oct 15 10:11:29 2011
|
|
@@ -254,38 +254,24 @@ endif()
|
|
|
|
add_executable(qhull ${qhull_SOURCES})
|
|
target_link_libraries(qhull ${qhull_STATIC})
|
|
-set_target_properties(qhull PROPERTIES
|
|
- VERSION ${qhull_VERSION})
|
|
|
|
add_executable(rbox ${rbox_SOURCES})
|
|
target_link_libraries(rbox ${qhull_STATIC})
|
|
-set_target_properties(rbox PROPERTIES
|
|
- VERSION ${qhull_VERSION})
|
|
|
|
add_executable(qconvex ${qconvex_SOURCES})
|
|
target_link_libraries(qconvex ${qhull_STATIC})
|
|
-set_target_properties(qconvex PROPERTIES
|
|
- VERSION ${qhull_VERSION})
|
|
|
|
add_executable(qdelaunay ${qdelaunay_SOURCES})
|
|
target_link_libraries(qdelaunay ${qhull_STATIC})
|
|
-set_target_properties(qdelaunay PROPERTIES
|
|
- VERSION ${qhull_VERSION})
|
|
|
|
add_executable(qvoronoi ${qvoronoi_SOURCES})
|
|
target_link_libraries(qvoronoi ${qhull_STATIC})
|
|
-set_target_properties(qvoronoi PROPERTIES
|
|
- VERSION ${qhull_VERSION})
|
|
|
|
add_executable(qhalf ${qhalf_SOURCES})
|
|
target_link_libraries(qhalf ${qhull_STATIC})
|
|
-set_target_properties(qhalf PROPERTIES
|
|
- VERSION ${qhull_VERSION})
|
|
|
|
add_executable(user_eg2 ${user_eg2_SOURCES})
|
|
target_link_libraries(user_eg2 ${qhull_STATIC})
|
|
-set_target_properties(user_eg2 PROPERTIES
|
|
- VERSION ${qhull_VERSION})
|
|
|
|
# ---------------------------------------
|
|
# Define qhull executables linked to qhull shared library
|
|
@@ -297,8 +283,7 @@ add_executable(user_eg ${user_eg_SOURCES})
|
|
# user_eg may be linked to qhull_STATIC if user_eg_DEFINES is removed
|
|
target_link_libraries(user_eg ${qhull_SHARED})
|
|
set_target_properties(user_eg PROPERTIES
|
|
- COMPILE_DEFINITIONS "${user_eg_DEFINES}"
|
|
- VERSION ${qhull_VERSION})
|
|
+ COMPILE_DEFINITIONS "${user_eg_DEFINES}")
|
|
|
|
# ---------------------------------------
|
|
# Define qhull executables linked to qhullstatic_p and qhullcpp static library
|
|
@@ -314,8 +299,7 @@ add_executable(user_eg3 ${user_eg3_SOURCES})
|
|
# qhull_STATICP must be last, otherwise qh_fprintf,etc. are not loaded from qhull_CPP
|
|
target_link_libraries(user_eg3 ${qhull_CPP} ${qhull_STATICP})
|
|
set_target_properties(user_eg3 PROPERTIES
|
|
- COMPILE_DEFINITIONS "qh_QHpointer"
|
|
- VERSION ${qhull_VERSION})
|
|
+ COMPILE_DEFINITIONS "qh_QHpointer")
|
|
|
|
# ---------------------------------------
|
|
# Define install
|