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

Install tree should be relocatable #7

Open
jcfr opened this issue Apr 2, 2020 · 2 comments
Open

Install tree should be relocatable #7

jcfr opened this issue Apr 2, 2020 · 2 comments

Comments

@jcfr
Copy link
Member

jcfr commented Apr 2, 2020

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:

@RafaelPalomar
Copy link

@jcfr, I'll have a look at this. Thanks for taking your time to make it that informative.

@jcfr
Copy link
Member Author

jcfr commented Apr 2, 2020

Thanks for your help and thanks for contributing 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants