2020-07-08 05:13:05 +08:00
|
|
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO epezent/implot
|
2023-03-22 04:23:47 +08:00
|
|
|
REF v${VERSION}
|
2023-07-20 10:58:09 +08:00
|
|
|
SHA512 75d5f7e429aaf6eaa3a7eaedf5bcb54ac78fd04121baa8d0fff76bf9a87a52bd27f59bc07df7f81807619f75f570e1f5be70f35a34376f7e7b1f0bf0722b899a
|
2020-07-08 05:13:05 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2021-10-22 14:55:18 +08:00
|
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
2020-07-08 05:13:05 +08:00
|
|
|
|
2021-10-22 14:55:18 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2020-07-08 05:13:05 +08:00
|
|
|
OPTIONS_DEBUG
|
|
|
|
-DIMPLOT_SKIP_HEADERS=ON
|
|
|
|
)
|
|
|
|
|
2021-10-22 14:55:18 +08:00
|
|
|
vcpkg_cmake_install()
|
2020-07-08 05:13:05 +08:00
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|
2021-10-22 14:55:18 +08:00
|
|
|
vcpkg_cmake_config_fixup()
|
2020-07-08 05:13:05 +08:00
|
|
|
|
2023-03-22 04:23:47 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|