BUG: Include Test depends in test directory#890
Conversation
|
Thanks. I don't fully understand the PR but I'll trust you on this if the CI comes green. Just a question: there is one third-party library in RTK, |
Addresses build issue with the ITK CMake interfaces library PR.
0da939c to
1cb1bd7
Compare
For the use case of lpsolved, where the library is independent and does not require any of the ITK Module specified dependencies, this usage of just itk_module_target is correct. This creates an ITK::lpsolved55 interface library. I am also noting that the ITK::RTKModule target includes the lp_solves includes not the target.
You can inspect ITKTargets.cmake in the build directory to see the results. |
Thanks for your detailed answer. Can you please look into the suggestions @axel-grc? |
Addresses build issue with the ITK CMake interfaces library PR.
This fixes missing module dependencies in the test directory that were causing compilation errors when building with updated ITK CMake infrastructure.
The compilation error due to not being able to find the "itkTestingMacros.h" header when building tests.
InsightSoftwareConsortium/ITK#5721