-
-
Notifications
You must be signed in to change notification settings - Fork 717
Closed
Labels
type:BugInconsistencies or issues which will cause an incorrect result under some or all circumstancesInconsistencies or issues which will cause an incorrect result under some or all circumstances
Description
Description
Trying to compile RTK externally after compiling the latest ITK main. I get the following error at configuration
CMake Error at /home/srit/src/itk/itk/CMake/ITKModuleMacros.cmake:429 (target_link_libraries):
Cannot specify link libraries for target "ITKImageIO" which is not built by
this project.
Call Stack (most recent call first):
/home/srit/src/itk/itk/CMake/ITKModuleExternal.cmake:202 (itk_module_impl)
CMakeLists.txt:258 (include)
This is likely caused by #5721.
Steps to Reproduce
Compile ITK.
Then download RTK and configure RTK separately.
Expected behavior
Configuration of the project.
Actual behavior
Fails with the above error
Reproducibility
100%
Versions
Latest ITK in the main branch, Ubuntu.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type:BugInconsistencies or issues which will cause an incorrect result under some or all circumstancesInconsistencies or issues which will cause an incorrect result under some or all circumstances