File tree Expand file tree Collapse file tree 6 files changed +14
-222
lines changed Expand file tree Collapse file tree 6 files changed +14
-222
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
2
-
1
+ # Header-only library
3
2
vcpkg_from_github(
4
3
OUT_SOURCE_PATH SOURCE_PATH
5
4
REPO kmammou/v-hacd
6
- REF 1a49edf29c69039df15286181f2f27e17ceb9aef
7
- SHA512 14157e5fd9cbfeb44735dc2952d7b4f43337ea2243f3b690125dda27e3bb8328cc38050415c7150cf11fbd85c5258c3aaa8899f306ce118f78a4d5e6139ef0f0
5
+ REF "v ${VERSION} "
6
+ SHA512 b974c490897a1901d6975c75222a167a70f9e2a37e0c548aeb6a346cb0154ec1415947d47d69a729c0c4d9345aed70d3c09d4bf297beacfae66ceb4c8c89c6d0
8
7
HEAD_REF master
9
- PATCHES
10
- fix-cmake.patch
11
- )
12
-
13
- file (COPY "${CMAKE_CURRENT_LIST_DIR} /CMakeLists.txt" DESTINATION "${SOURCE_PATH} " )
14
-
15
- if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
16
- set (LIB_TYPE "SHARED" )
17
- else ()
18
- set (LIB_TYPE "STATIC" )
19
- endif ()
20
-
21
- vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
22
- INVERTED_FEATURES
23
- openmp NO_OPENMP
24
- opencl NO_OPENCL
25
8
)
26
9
27
- vcpkg_cmake_configure(
28
- SOURCE_PATH "${SOURCE_PATH} "
29
- OPTIONS
30
- ${FEATURE_OPTIONS}
31
- -DLIB_TYPE=${LIB_TYPE}
32
- )
33
-
34
- vcpkg_cmake_install()
35
-
36
- file (REMOVE_RECURSE "${CURRENT_PACKAGES_DIR} /debug/include" )
37
-
38
- vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/vhacd)
39
-
40
- vcpkg_copy_pdbs()
41
-
42
- # Handle copyright
43
- file (INSTALL "${SOURCE_PATH} /LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR} /share/${PORT} " RENAME copyright)
10
+ file (INSTALL "${SOURCE_PATH} /include/VHACD.h" DESTINATION "${CURRENT_PACKAGES_DIR} /include" )
11
+ vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH} /LICENSE" )
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " v-hacd" ,
3
- "version" : " 3.2.0" ,
4
- "port-version" : 4 ,
3
+ "version" : " 4.1.0" ,
5
4
"description" : " The V-HACD library decomposes a 3D surface into a set of \" near\" convex parts." ,
6
5
"homepage" : " https://github.com/kmammou/v-hacd" ,
7
- "supports" : " !arm" ,
8
- "dependencies" : [
9
- {
10
- "name" : " vcpkg-cmake" ,
11
- "host" : true
12
- },
13
- {
14
- "name" : " vcpkg-cmake-config" ,
15
- "host" : true
16
- }
17
- ],
18
- "features" : {
19
- "opencl" : {
20
- "description" : " Builds opencl enabled lib" ,
21
- "dependencies" : [
22
- " opencl"
23
- ]
24
- },
25
- "openmp" : {
26
- "description" : " Builds openmp enabled lib"
27
- }
28
- }
6
+ "supports" : " !arm"
29
7
}
Original file line number Diff line number Diff line change 9325
9325
"port-version" : 0
9326
9326
},
9327
9327
"v-hacd" : {
9328
- "baseline" : " 3.2 .0" ,
9329
- "port-version" : 4
9328
+ "baseline" : " 4.1 .0" ,
9329
+ "port-version" : 0
9330
9330
},
9331
9331
"v8" : {
9332
9332
"baseline" : " 9.1.269.39" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"versions" : [
3
+ {
4
+ "git-tree" : " fd12e9f385d6694b78b54e73328dc0afde6ed0f5" ,
5
+ "version" : " 4.1.0" ,
6
+ "port-version" : 0
7
+ },
3
8
{
4
9
"git-tree" : " a4b4d85577f6e6e7cbcfa0257cdc5f51775e3e47" ,
5
10
"version" : " 3.2.0" ,
You can’t perform that action at this time.
0 commit comments