mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 15:19:03 +08:00
3fb92ef49c
* [implot] Update to 0.12 * [implot] Update version files * [implot] Replace deprecated vcpkg functions * [implot] Fix port formatting * [implot] Update version files * [implot] Update implot to 0.12 * [implot] Update version files * [implot] Update version database * update portfile.cmake * update version Co-authored-by: Rémy Tassoux <rt2@rasterizedworld.com> Co-authored-by: Jonliu1993 <13720414433@163.com>
24 lines
664 B
CMake
24 lines
664 B
CMake
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO epezent/implot
|
|
REF v0.12
|
|
SHA512 972bb831150a8b7c5fddb828c9d6928b493186ae587c8c5ea679c4fe499459892f175181c529e37195f72e09854ec8c698b77ae39e60295f831ad67e4a5f3358
|
|
HEAD_REF master
|
|
)
|
|
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS_DEBUG
|
|
-DIMPLOT_SKIP_HEADERS=ON
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_copy_pdbs()
|
|
vcpkg_cmake_config_fixup()
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) |