aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2020-09-11 12:31:30 -0700
committerGitHub <noreply@github.com>2020-09-11 12:31:30 -0700
commitb549e6a77972cb9d852a4540923d6eb114fbbc82 (patch)
tree36b1ecb91da9766dcdfc14652d4b9ce43d3184d5
parent7f471eaf73cbe7f256b50bac847c4e9b864d8dc4 (diff)
downloadvcpkg-b549e6a77972cb9d852a4540923d6eb114fbbc82.tar.gz
vcpkg-b549e6a77972cb9d852a4540923d6eb114fbbc82.zip
[libigl] Re-fix install extra headers (#13471)
-rw-r--r--ports/libigl/CONTROL2
-rw-r--r--ports/libigl/install-extra-headers.patch35
2 files changed, 31 insertions, 6 deletions
diff --git a/ports/libigl/CONTROL b/ports/libigl/CONTROL
index d01119a9d..a317fdb1b 100644
--- a/ports/libigl/CONTROL
+++ b/ports/libigl/CONTROL
@@ -1,6 +1,6 @@
Source: libigl
Version: 2.2.0
-Port-Version: 1
+Port-Version: 2
Homepage: https://github.com/libigl/libigl
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.
Build-Depends: eigen3
diff --git a/ports/libigl/install-extra-headers.patch b/ports/libigl/install-extra-headers.patch
index a0f2905e0..736de152d 100644
--- a/ports/libigl/install-extra-headers.patch
+++ b/ports/libigl/install-extra-headers.patch
@@ -1,19 +1,45 @@
diff --git a/cmake/libigl.cmake b/cmake/libigl.cmake
-index a33cefa..991cf0d 100644
+index a33cefa..0014375 100644
--- a/cmake/libigl.cmake
+++ b/cmake/libigl.cmake
-@@ -561,6 +561,30 @@ export(
+@@ -560,6 +560,55 @@ export(
+ # Install headers for core library
install_dir_files(core)
install_dir_files(copyleft)
-
++
+if (LIBIGL_WITH_EMBREE)
+ install_dir_files(embree)
+endif()
++
++if (LIBIGL_WITH_CGAL)
++ install_dir_files(copyleft/cgal)
++endif()
++
++if (LIBIGL_WITH_COMISO)
++ install_dir_files(copyleft/comiso)
++endif()
++
++if (LIBIGL_WITH_CORK)
++ install_dir_files(copyleft/cork)
++endif()
++
++if (LIBIGL_WITH_TETGEN)
++ install_dir_files(copyleft/tetgen)
++endif()
+
+if (LIBIGL_WITH_OPENGL OR LIBIGL_WITH_OPENGL_GLFW OR LIBIGL_WITH_OPENGL_GLFW_IMGUI)
++ install_dir_files(copyleft/opengl2)
+ install_dir_files(opengl)
+endif()
+
++if (LIBIGL_WITH_OPENGL_GLFW OR LIBIGL_WITH_OPENGL_GLFW_IMGUI)
++ install_dir_files(opengl/glfw)
++endif()
++
++if (LIBIGL_WITH_OPENGL_GLFW_IMGUI)
++ install_dir_files(opengl/glfw/imgui)
++endif()
++
+if (LIBIGL_WITH_PNG)
+ install_dir_files(png)
+endif()
@@ -29,7 +55,6 @@ index a33cefa..991cf0d 100644
+if (LIBIGL_WITH_XML)
+ install_dir_files(xml)
+endif()
-+
+
# Write package configuration file
configure_package_config_file(
- ${CMAKE_CURRENT_LIST_DIR}/libigl-config.cmake.in