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

Multiple modules support #9

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

AlexyPellegrini
Copy link

Small improvements that will help us with Slicer as a library project!

@jcfr

This enable building multiple VTK modules from the same source tree even
if they do not depend on each other!
VTK_MODULE_SOURCE_DIR is used at different points and depending on the
CMake command that use it the base directory may be different. Making it
a full path from CMAKE_SOURCE_DIR helps to have a consistent behavior.

Increase minimum CMake required version to 3.20 for cmake_path support!
Old condition used to be always true due to variable
${_vtk_build_depend_package}_DIR being defined by a previous find_package
call to NOTFOUND. This happens when we have multiple modules with internal
dependencies.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant