mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 03:07:20 +08:00
b1642553ec
* [imgui] Update to 1.87 * [imgui] Update version files * [implot] Update to 0.13 * [implot] Update version files * [implot] Add a patch to fix osx build * [implot] Update version files * [implot] Fix delegated constructors causing osx build to fail * [implot] Update version files * [implot] Fix build on osx without patch * [implot] Update version files
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.13
|
|
SHA512 ed653a14f1174b1689c7b8e5761455644e41e75a3cdf5a76d96adf8e286893418660809c1c158fa405c1c48a82752ae9c3b8e1eb14bd0015081604cdb44d95f4
|
|
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) |