Description
I'm trying to build ITK git from scratch. There is a /usr/lib/libtiff.so.6.2.0 ist from the libtiff 4.7.1 package on my system. The configuration fails with:
-- Configuring done (58.6s)
CMake Error at CMake/ITKModuleMacros.cmake:396 (target_link_libraries):
The link interface of target "ITKTIFFModule" contains:
ITK::optimized
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
Call Stack (most recent call first):
Modules/ThirdParty/TIFF/CMakeLists.txt:31 (itk_module_impl)
-- Generating done (1.5s)
Steps to Reproduce
build recipe from https://gitlab.archlinux.org/archlinux/packaging/packages/itk/-/blob/main/PKGBUILD?ref_type=heads but not Vanilla Arch
make ..$cmake_options..
cmake --build build
Actual behavior
./build/lib/cmake/ITK-6.0/Modules/ITKTIFF.cmake contains the erroneous
set(ITKTIFF_LIBRARIES "ITK::optimized;/usr/lib/libtiff.so.6.2.0;ITK::debug")
not deriving from https://github.com/InsightSoftwareConsortium/ITK/tree/main/Modules/ThirdParty/TIFF/src/itktiff
Versions
7d80605
Environment
Python 3.10
CMake 3.31.6
Description
I'm trying to build ITK git from scratch. There is a /usr/lib/libtiff.so.6.2.0 ist from the libtiff 4.7.1 package on my system. The configuration fails with:
Steps to Reproduce
build recipe from https://gitlab.archlinux.org/archlinux/packaging/packages/itk/-/blob/main/PKGBUILD?ref_type=heads but not Vanilla Arch
Actual behavior
./build/lib/cmake/ITK-6.0/Modules/ITKTIFF.cmakecontains the erroneousset(ITKTIFF_LIBRARIES "ITK::optimized;/usr/lib/libtiff.so.6.2.0;ITK::debug")not deriving from https://github.com/InsightSoftwareConsortium/ITK/tree/main/Modules/ThirdParty/TIFF/src/itktiff
Versions
7d80605
Environment
Python 3.10
CMake 3.31.6