[opencascade] Add samples feature (#31156)

* [opencascade] Add samples feature

* format vcpkg.json

* update version
This commit is contained in:
JonLiu1993 2023-04-29 07:13:02 +08:00 committed by GitHub
parent 550b0c2c98
commit c1c3932f77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 3 deletions

View File

@ -22,6 +22,7 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
"freeimage" USE_FREEIMAGE
"tbb" USE_TBB
"rapidjson" USE_RAPIDJSON
"samples" INSTALL_SAMPLES
)
# VTK option in opencascade not currently supported because only 6.1.0 is supported but vcpkg has >= 9.0
@ -40,7 +41,6 @@ vcpkg_cmake_configure(
-DBUILD_SAMPLES_QT=OFF
-DBUILD_DOC_Overview=OFF
-DINSTALL_TEST_CASES=OFF
-DINSTALL_SAMPLES=OFF
)
vcpkg_cmake_install()

View File

@ -1,7 +1,7 @@
{
"name": "opencascade",
"version": "7.6.2",
"port-version": 1,
"port-version": 2,
"description": "Open CASCADE Technology (OCCT) is an open-source software development platform for 3D CAD, CAM, CAE.",
"homepage": "https://github.com/Open-Cascade-SAS/OCCT",
"license": "LGPL-2.1",
@ -31,6 +31,9 @@
"rapidjson"
]
},
"samples": {
"description": "Enable optional samples"
},
"tbb": {
"description": "Enable optional usage of tbb",
"dependencies": [

View File

@ -5770,7 +5770,7 @@
},
"opencascade": {
"baseline": "7.6.2",
"port-version": 1
"port-version": 2
},
"opencc": {
"baseline": "1.1.6",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "58939d51b0f33a014e48f1d7100ab8888d068c2d",
"version": "7.6.2",
"port-version": 2
},
{
"git-tree": "137097588b2328c3d7f66c4f0e46e6e4fe1559cf",
"version": "7.6.2",