Skip to content

Install tree should be relocatable #7

Description

@jcfr

PR #6 improved the build-system to properly install artifacts

The configured vtkAddonInstallConfig.cmake.in should be improved so that it does NOT contain absolute paths:

set(vtkAddon_CMAKE_DIR "@CMAKE_INSTALL_PREFIX@/@vtkAddon_INSTALL_CMAKE_DIR@")
set(vtkAddon_INCLUDE_DIRS "@CMAKE_INSTALL_PREFIX@/@vtkAddon_INSTALL_INCLUDE_DIR@")
set(vtkAddon_LIB_DIR "@CMAKE_INSTALL_PREFIX@/@vtkAddon_INSTALL_LIB_DIR@")
set(VTK_DIR "@VTK_DIR@")

The following resources may be helpful to learn how to move forward:

Some CMake projects:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions