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-08-23 04:04:01 +08:00
|
|
|
SHA512 117cb08122d900e7db857897bfec4c9ac3300a1d429c8f0303415bc693840baa9bbbb91ca3f13853d8efd3a6ebf538b7114401d4fbfe0d067256e58cbdbd4919
|
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")
|