mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 07:31:37 +08:00
[opencascade] Add samples feature (#31156)
* [opencascade] Add samples feature * format vcpkg.json * update version
This commit is contained in:
parent
550b0c2c98
commit
c1c3932f77
@ -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()
|
||||
|
@ -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": [
|
||||
|
@ -5770,7 +5770,7 @@
|
||||
},
|
||||
"opencascade": {
|
||||
"baseline": "7.6.2",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"opencc": {
|
||||
"baseline": "1.1.6",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "58939d51b0f33a014e48f1d7100ab8888d068c2d",
|
||||
"version": "7.6.2",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "137097588b2328c3d7f66c4f0e46e6e4fe1559cf",
|
||||
"version": "7.6.2",
|
||||
|
Loading…
Reference in New Issue
Block a user