You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit fixes a regression introduced in 5b09d54 (COMP: Allow
install lib directory name changes).
Client project not explicitly setting CMAKE_INSTALL_LIBDIR (or including
the "GNUInstallDirs" CMake module) would fail to find externally build
ITK module.
This commit addresses this by setting CMAKE_INSTALL_LIBDIR default value
to "lib". This approach is consistent with how the CMAKE_INSTALL_LIBDIR
default value is set in the top-level CMakeLists.txt.
Before this change, there was discrepancy between the value of
"/path/to/<module>.cmake" used when configuring the file and the
one used when looking up the file following a call
to "find_package(ITK COMPONENTS <module>)".
For example:
Location of the configured file:
/path/to/ITK-build//cmake/ITK-5.3/Modules/Ultrasound.cmake
vs
Location expected by "itk_module_load()"
/path/to/ITK-build/lib/cmake/ITK-5.3/Modules/Ultrasound.cmake
0 commit comments