diff options
| author | Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> | 2021-05-01 01:59:39 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-30 10:59:39 -0700 |
| commit | 8dad905c6f5b8a44ce72de7221b9165a591de107 (patch) | |
| tree | 3c2b1cd59ee4c336124f50c07da1e0530655c06e /ports/matplotplusplus/portfile.cmake | |
| parent | c8c95c50c11689920b9c67d88f9028f7553b389b (diff) | |
| download | vcpkg-8dad905c6f5b8a44ce72de7221b9165a591de107.tar.gz vcpkg-8dad905c6f5b8a44ce72de7221b9165a591de107.zip | |
[matplotplusplus] Fix find and use dependencies (#17552)
* [matplotplusplus] Fix find and use dependencies
* update version record
Diffstat (limited to 'ports/matplotplusplus/portfile.cmake')
| -rw-r--r-- | ports/matplotplusplus/portfile.cmake | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/ports/matplotplusplus/portfile.cmake b/ports/matplotplusplus/portfile.cmake index 82901c5c5..a332d9210 100644 --- a/ports/matplotplusplus/portfile.cmake +++ b/ports/matplotplusplus/portfile.cmake @@ -12,18 +12,28 @@ vcpkg_from_github( REF 36d8dc6c3b94b7a71c4f129763f2c6ad8fc0b54a SHA512 ac8902e953a2a9f6bd62e14e2eb0bd42e407bae6c0b2921ad16ce547e4921ba2c8d8a9cc68e75831676dce3cd89cdf8294862710e838510b68e20f8a6cdf806f HEAD_REF master - PATCHES install-3rd-libraries.patch # Remove this patch when nodesoup is added in vcpkg + PATCHES + install-3rd-libraries.patch # Remove this patch when nodesoup is added in vcpkg + fix-dependencies.patch ) vcpkg_check_features( OUT_FEATURE_OPTIONS FEATURE_OPTIONS FEATURES - opengl BUILD_EXPERIMENTAL_OPENGL_BACKEND + opengl BUILD_EXPERIMENTAL_OPENGL_BACKEND + jpeg WITH_JPEG + tiff WITH_TIFF + zlib WITH_ZLIB + lapack WITH_LAPACK + blas WITH_BLAS + fftw3 WITH_FFTW3 + opencv WITH_OPENCV ) vcpkg_cmake_configure( SOURCE_PATH ${SOURCE_PATH} - OPTIONS + PREFER_NINJA + OPTIONS ${FEATURE_OPTIONS} -DCPM_USE_LOCAL_PACKAGES=ON -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF @@ -31,13 +41,13 @@ vcpkg_cmake_configure( -DBUILD_PACKAGE=OFF -DBUILD_WITH_PEDANTIC_WARNINGS=OFF -DWITH_SYSTEM_CIMG=ON - ${FEATURE_OPTIONS} + -DBUILD_HIGH_RESOLUTION_WORLD_MAP=${BUILD_WORLD_MAP} ) vcpkg_cmake_install() -# The official documentation says: -# find_package(Matplot++ ...) +vcpkg_copy_pdbs() + file(RENAME ${CURRENT_PACKAGES_DIR}/lib/cmake/Matplot++/matplot++-config.cmake ${CURRENT_PACKAGES_DIR}/lib/cmake/Matplot++/Matplot++-config.cmake |
