Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libigl] Always install as header-only lib #30617

Merged
merged 2 commits into from
Apr 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions ports/libigl/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@ endif()
file(REMOVE "${SOURCE_PATH}/cmake/find/FindGMP.cmake")
file(REMOVE "${SOURCE_PATH}/cmake/find/FindMPFR.cmake")

# static or dynamic build
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" LIBIGL_BUILD_STATIC)

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
DISABLE_PARALLEL_CONFIGURE
Expand All @@ -79,7 +76,7 @@ vcpkg_cmake_configure(
-DLIBIGL_BUILD_TESTS=OFF
-DLIBIGL_BUILD_TUTORIALS=OFF
-DLIBIGL_INSTALL=ON
-DLIBIGL_USE_STATIC_LIBRARY=${LIBIGL_BUILD_STATIC}
-DLIBIGL_USE_STATIC_LIBRARY=OFF
-DHUNTER_ENABLED=OFF
-DLIBIGL_COPYLEFT_COMISO=${LIBIGL_COMISO}
-DLIBIGL_COPYLEFT_TETGEN=${LIBIGL_TETGEN}
Expand Down
2 changes: 1 addition & 1 deletion ports/libigl/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "libigl",
"version": "2.4.0",
"port-version": 1,
"port-version": 2,
"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": "GPL-3.0-only",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4074,7 +4074,7 @@
},
"libigl": {
"baseline": "2.4.0",
"port-version": 1
"port-version": 2
},
"libilbc": {
"baseline": "3.0.4",
Expand Down
5 changes: 5 additions & 0 deletions versions/l-/libigl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "b1f7e5126f4bca6f7d6800bb8eb143d1640f8a80",
"version": "2.4.0",
"port-version": 2
},
{
"git-tree": "7a44d46fb03c0127710107883208300358ad960f",
"version": "2.4.0",
Expand Down