mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 04:43:02 +08:00
[libigl] Fix feature imgui's dependency imguizmo (#40212)
This commit is contained in:
parent
c66e3c2eea
commit
c44d3b5b36
@ -67,7 +67,7 @@ index 79c2126..6d06775 100644
|
||||
|
||||
# 5. Unit tests
|
||||
diff --git a/cmake/igl/modules/imgui.cmake b/cmake/igl/modules/imgui.cmake
|
||||
index d7ffb9d..f331854 100644
|
||||
index d7ffb9d..6152756 100644
|
||||
--- a/cmake/igl/modules/imgui.cmake
|
||||
+++ b/cmake/igl/modules/imgui.cmake
|
||||
@@ -14,14 +14,12 @@ file(GLOB SRC_FILES "${libigl_SOURCE_DIR}/include/igl/opengl/glfw/imgui/*.cpp")
|
||||
@ -78,14 +78,15 @@ index d7ffb9d..f331854 100644
|
||||
-include(imguizmo)
|
||||
-include(libigl_imgui_fonts)
|
||||
+find_package(imgui CONFIG REQUIRED)
|
||||
+find_package(imguizmo CONFIG REQUIRED)
|
||||
+find_package(unofficial-imguizmo CONFIG REQUIRED)
|
||||
igl_include(glfw)
|
||||
target_link_libraries(igl_imgui ${IGL_SCOPE}
|
||||
igl::core
|
||||
igl::glfw
|
||||
imgui::imgui
|
||||
imguizmo::imguizmo
|
||||
- imguizmo::imguizmo
|
||||
- igl::imgui_fonts
|
||||
+ unofficial::imguizmo::imguizmo
|
||||
)
|
||||
diff --git a/cmake/igl/modules/opengl.cmake b/cmake/igl/modules/opengl.cmake
|
||||
index 4580c03..dfadb38 100644
|
||||
|
@ -123,12 +123,12 @@ index 6d06775..7126a23 100644
|
||||
if(LIBIGL_GLFW_TESTS)
|
||||
file(GLOB SRC_FILES "${libigl_SOURCE_DIR}/tests/include/igl/opengl/glfw/*.cpp")
|
||||
diff --git a/cmake/igl/modules/imgui.cmake b/cmake/igl/modules/imgui.cmake
|
||||
index f331854..6e0de4c 100644
|
||||
index 6152756..34359c6 100644
|
||||
--- a/cmake/igl/modules/imgui.cmake
|
||||
+++ b/cmake/igl/modules/imgui.cmake
|
||||
@@ -23,3 +23,6 @@ target_link_libraries(igl_imgui ${IGL_SCOPE}
|
||||
imgui::imgui
|
||||
imguizmo::imguizmo
|
||||
unofficial::imguizmo::imguizmo
|
||||
)
|
||||
+
|
||||
+igl_install(igl_imgui ${INC_FILES} ${SRC_FILES})
|
||||
|
@ -1,8 +1,8 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO libigl/libigl
|
||||
REF fdaac01bcc52888994f7afd029dcc045dd408484 #2.5.0
|
||||
SHA512 214f6af92026987d9ee3bad5e1849ef96d8455b1de38a03d068b7d7ab88b66a08f3a1f7c11b0cabc8d0744c19855ee2fdd544ac15ad826d117ef1ba97a318a2f
|
||||
REF "v${VERSION}"
|
||||
SHA512 39b92ec4c2479a3c0a8e99b2890643c9d76a7e5b61b485c1a3a5f5abff1da4e62b67b879dbcf6e18a43f98172fc9f87f0a6c92b99e2a1900e6f1d2e809899b11
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
dependencies.patch
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "libigl",
|
||||
"version": "2.5.0",
|
||||
"port-version": 1,
|
||||
"description": "libigl is a simple C++ geometry processing library. We have a wide functionality including construction of sparse discrete differential geometry operators and finite-elements matrices such as the cotangent Laplacian and diagonalized mass matrix, simple facet and edge-based topology data structures, mesh-viewing utilities for OpenGL and GLSL, and many core functions for matrix manipulation which make Eigen feel a lot more like MATLAB.",
|
||||
"homepage": "https://github.com/libigl/libigl",
|
||||
"license": null,
|
||||
|
@ -4598,7 +4598,7 @@
|
||||
},
|
||||
"libigl": {
|
||||
"baseline": "2.5.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"libilbc": {
|
||||
"baseline": "3.0.4",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "ef3f6b72109e34fd02b28936fdc955e91044e089",
|
||||
"version": "2.5.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "e9b48cd75312e9e77df2c2e7307b063d8737f4ba",
|
||||
"version": "2.5.0",
|
||||
|
Loading…
Reference in New Issue
Block a user