mirror of https://github.com/microsoft/vcpkg.git
[implot] Update to v0.7 (#13296)
* [implot] Update to v0.5 https://github.com/epezent/implot/releases/tag/v0.5 * [implot] Update to v0.6 https://github.com/epezent/implot/releases/tag/v0.6 * [implot] Update to v0.7 https://github.com/epezent/implot/releases/tag/v0.7 * [implot] Fix Mac OS build failure
This commit is contained in:
parent
16b68c2f35
commit
6ce7f41d8e
|
|
@ -23,6 +23,7 @@ target_sources(
|
|||
${PROJECT_NAME}
|
||||
PRIVATE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/implot.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/implot_items.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/implot_demo.cpp
|
||||
)
|
||||
|
||||
|
|
@ -37,6 +38,7 @@ install(
|
|||
if(NOT IMPLOT_SKIP_HEADERS)
|
||||
install(FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/implot.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/implot_internal.h
|
||||
DESTINATION include
|
||||
)
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
Source: implot
|
||||
Version: 0.4
|
||||
Version: 0.7
|
||||
Homepage: https://github.com/epezent/implot
|
||||
Description: Advanced 2D Plotting for Dear ImGui
|
||||
Build-Depends: imgui
|
||||
|
|
|
|||
|
|
@ -0,0 +1,12 @@
|
|||
diff --git a/implot_demo.cpp b/implot_demo.cpp
|
||||
--- a/implot_demo.cpp
|
||||
+++ b/implot_demo.cpp
|
||||
@@ -1426,7 +1426,7 @@
|
||||
static int F = 0;
|
||||
static double t1, t2;
|
||||
|
||||
- static ImVector<ImVector<ImPlotPoint>> records;
|
||||
+ static ImVector<ImVector<ImPlotPoint> > records;
|
||||
|
||||
if (running) {
|
||||
F++;
|
||||
|
|
@ -3,9 +3,10 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO epezent/implot
|
||||
REF v0.4
|
||||
SHA512 ab54a97fcfcdc21c47d56e7e9ba1fbd05ae0f9e8f9bf0bd742e9daa6231931ac0c3a7cb0a1637b254df531b2611b27a301cc9f51d6caa950e20d05ab5fc31247
|
||||
REF v0.7
|
||||
SHA512 b4b1c8ab8d031c884626cf2b31d30baa786b5a1942aabf0856cdb8f2fa091c8117d165c4789a5f9b58ae7a01e89e43e7145a308cfe64af6e28da776d1707c125
|
||||
HEAD_REF master
|
||||
PATCHES mac_os_build_fix.patch
|
||||
)
|
||||
|
||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
||||
|
|
|
|||
Loading…
Reference in New Issue