mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 23:11:17 +08:00
d132d128b4
* [aubio] * [bitserializer] * [crfsuite] Update to 2020-08-27 * format * [freealut] * [libe57] * version * [libe57] Remove docs * version * [libffi] * [libmodplug] * [libsodium] * [libsrtp] * [libfio] * [ned14-internal-quickcpplib] * version string * version * version * [matio] Update to 1.5.23 * [matplusplus] Update to 1.1.0 * [pystring] * [rdbl] * [recast] * [restinfo] * [sockpp] * [sziü] * [taglib] * [thor] * [workflow] * version * [Forkflow] Fix typo * version * [pystring] license * version * license * version * [sockpp] * version * [refl-cpp] * [pixel] Fix synthax warning * version * [matplotplusplus] * version * license * version * [szip, workflow] Remove docs * version * license * version * [szip] Fix license install * version * [matplotplusplus] Revert update * version
55 lines
1.8 KiB
CMake
55 lines
1.8 KiB
CMake
message(STATUS " ${PORT}'s gnuplot backend currently requires Gnuplot 5.2.6+.
|
|
Windows users may get a pre-built binary installer from http://www.gnuplot.info/download.html.
|
|
Linux and MacOS users may install it from the system package manager.
|
|
Please visit https://alandefreitas.github.io/matplotplusplus/ for more information."
|
|
)
|
|
|
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO alandefreitas/matplotplusplus
|
|
REF 36d8dc6c3b94b7a71c4f129763f2c6ad8fc0b54a
|
|
SHA512 ac8902e953a2a9f6bd62e14e2eb0bd42e407bae6c0b2921ad16ce547e4921ba2c8d8a9cc68e75831676dce3cd89cdf8294862710e838510b68e20f8a6cdf806f
|
|
HEAD_REF master
|
|
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
|
|
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 ${FEATURE_OPTIONS}
|
|
-DCPM_USE_LOCAL_PACKAGES=ON
|
|
-DBUILD_EXAMPLES=OFF
|
|
-DBUILD_TESTS=OFF
|
|
-DBUILD_INSTALLER=ON
|
|
-DBUILD_PACKAGE=OFF
|
|
-DBUILD_WITH_PEDANTIC_WARNINGS=OFF
|
|
-DWITH_SYSTEM_CIMG=ON
|
|
-DBUILD_HIGH_RESOLUTION_WORLD_MAP=${BUILD_WORLD_MAP}
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME matplot++ CONFIG_PATH lib/cmake/Matplot++)
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|