Skip to content

v2.4.0 top-level CMake installation is broken #2186

@FabienPean

Description

@FabienPean

Observed when trying out the new port via vcpkg, see microsoft/vcpkg#30621. Relevant details repeated below:

CMake config files are broken

  1. Naming inconsistent
    image
  2. Main config file not including target file, i.e., missing include(${CMAKE_CURRENT_LIST_DIR}/LibiglConfigTargets.cmake).
    • It means the include folder of igl cannot be found on a simple test case, because it cannot find the target igl::igl_core

Modules are not installed

Upstream repository does not install the targets containing the options, only the core target, see https://github.com/search?q=repo%3Alibigl%2Flibigl%20igl_install&type=code. Moreover, installing does not include copyleft targets

foreach(suffix IN ITEMS "") #"_restricted" "_copyleft")

  • Windows
  • macOS
  • Linux

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions