vcpkg/ports/sciplot/portfile.cmake
JonLiu1993 77fe434974
[Sciplot] update to 0.3.1 (#26386)
* [Sciplot] update to 0.3.1

* update version
2022-08-17 09:30:57 -07:00

24 lines
656 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO sciplot/sciplot
REF f8d779a1110b76c6bdc77edcdc7fa798156a6917 #v0.3.1
SHA512 fa21895c637bc42071fbd951e1c2ee450798398863626e31015f106077de4ad17dc276d77f2f1a4a7679c055c8cd8caafea513d746ac7ddbb22a16cc9382f39a
HEAD_REF vcpkg
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DSCIPLOT_BUILD_TESTS=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH share/sciplot)
vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"RENAME copyright)