2021-04-02 01:44:04 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO sciplot/sciplot
|
2022-08-18 00:30:57 +08:00
|
|
|
REF f8d779a1110b76c6bdc77edcdc7fa798156a6917 #v0.3.1
|
|
|
|
SHA512 fa21895c637bc42071fbd951e1c2ee450798398863626e31015f106077de4ad17dc276d77f2f1a4a7679c055c8cd8caafea513d746ac7ddbb22a16cc9382f39a
|
2021-04-02 01:44:04 +08:00
|
|
|
HEAD_REF vcpkg
|
|
|
|
)
|
|
|
|
|
2022-06-23 05:39:11 +08:00
|
|
|
vcpkg_cmake_configure(
|
2022-08-18 00:30:57 +08:00
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2022-06-23 05:39:11 +08:00
|
|
|
OPTIONS
|
2022-09-26 14:57:58 +08:00
|
|
|
-DSCIPLOT_BUILD_EXAMPLES=OFF
|
2022-06-23 05:39:11 +08:00
|
|
|
-DSCIPLOT_BUILD_TESTS=OFF
|
2022-09-26 14:57:58 +08:00
|
|
|
-DSCIPLOT_BUILD_DOCS=OFF
|
2021-04-02 01:44:04 +08:00
|
|
|
)
|
|
|
|
|
2022-06-23 05:39:11 +08:00
|
|
|
vcpkg_cmake_install()
|
2021-04-02 01:44:04 +08:00
|
|
|
|
2022-06-23 05:39:11 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH share/sciplot)
|
2021-04-02 01:44:04 +08:00
|
|
|
|
2022-08-18 00:30:57 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
2021-04-02 01:44:04 +08:00
|
|
|
|
2022-09-26 14:57:58 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|