[vcpkg baseline][pangolin] Add options to dependencies to avoid finding them automatically (#17014)

* [vcpkg baseline][pangolin] Add options to dependencies to avoid finding them automatically

* update version record

* switch to CMAKE_DISABLE_FIND_PACKAGE_PORT

* bump version
This commit is contained in:
Jack·Boos·Yu 2021-04-02 01:07:01 +08:00 committed by GitHub
parent 338964e3ff
commit 7d40a546b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 38 additions and 8 deletions

View File

@ -1,7 +0,0 @@
Source: pangolin
Version: 0.5
Port-Version: 12
Build-Depends: eigen3, glew, libpng, libjpeg-turbo, ffmpeg[avformat]
Homepage: https://github.com/stevenlovegrove/Pangolin
Description: Lightweight GUI Library
Supports: !uwp & !osx

View File

@ -27,6 +27,18 @@ vcpkg_configure_cmake(
-DBUILD_EXTERN_GLEW=OFF
-DBUILD_EXTERN_LIBPNG=OFF
-DBUILD_EXTERN_LIBJPEG=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_PythonLibs=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_TooN=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_DC1394=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_LibRealSense=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_OpenNI=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_OpenNI2=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_uvc=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_DepthSense=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_TeliCam=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_Pleora=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_TIFF=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_OpenEXR=OFF
-DMSVC_USE_STATIC_CRT=${MSVC_USE_STATIC_CRT}
)

20
ports/pangolin/vcpkg.json Normal file
View File

@ -0,0 +1,20 @@
{
"name": "pangolin",
"version-string": "0.5",
"port-version": 13,
"description": "Lightweight GUI Library",
"homepage": "https://github.com/stevenlovegrove/Pangolin",
"supports": "!uwp & !osx",
"dependencies": [
"eigen3",
{
"name": "ffmpeg",
"features": [
"avformat"
]
},
"glew",
"libjpeg-turbo",
"libpng"
]
}

View File

@ -4594,7 +4594,7 @@
},
"pangolin": {
"baseline": "0.5",
"port-version": 12
"port-version": 13
},
"pangomm": {
"baseline": "2.40.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "e746f01a619539fbbb0aae9b0edb9df733e555d7",
"version-string": "0.5",
"port-version": 13
},
{
"git-tree": "a27ee268db34edfd09ce5d0b51e574c7e6719931",
"version-string": "0.5",