Do not search for PCL components that have been found already - #2428
Conversation
|
This fixed the minimal example I mentioned in #2427 but it doesn't completely fix it. Here is another minimal example that induces the same error CMakeLists.txt sample2/CMakeLists.txt sample2/Sample2.h sample2/Sample2.cpp sample3/CMakeLists.txt sample3/Sample3.h sample3/Sample3.cpp You can see that sample2 and sample3 are irrelevant to each other yet it induces the same cmake error. Gist coming shortly. |
|
No need for the Gist, I see the problem. |
|
OK, I've changed how the "has been found already" test is carried out. Instead of relying on |
|
Thanks. I tested and it works. Please merge. However, I ran into another separate problem and I will file a separate issue for it. |
Fixes #2427.