I appreciate all the help, but I still have a bunch of questions.
I think I’ve done what Ben suggested above, but I’m getting errors like
CMake Error at /home/langer/lib/cmake/vtk-9.0/vtkModule.cmake:1136 (message):
Failed to determine the real target for the `CommonCore` module. Is a
`find_package` missing a required component?
find_package call looks like this:
[and a bunch more]
Does the word “component” in the error message mean that something is missing from the
COMPONENTS section of the find_package arguments, or is it being used in a non-technical sense to mean that some other arguments are missing?
CMakeError.log only contains errors regarding pthreads (?!), but none of the fixes for that that I found on-line made any difference. Is that something I need to be worried about?
foo in the example a literal
foo or do I need to replace it with something? I have been assuming it’s a placeholder for something that doesn’t matter because I’m not actually building anything with this code.
The Ubuntu 18 system that I’m using only has cmake 3.10, so I changed the minimum version number. Will that matter? I got the same results on a newer Ubuntu with a newer cmake, > 3.13.