I assume that this is a very simple question - once I know how to proceed!
Intention: Build ParaView with LAS data file import, currently on Linux, later Windows intended.
Turning the option on, CMake will ask for libLAS, which can be found and provided. In order to really go for a supported version, I downloaded it directly from where the ParaView Superbuild is getting it.
Building is very simple: with CMake including “generate”, then ninja - no problem so far.
But then the ParaView Build (still at 5.9.1, but probably this is not the issue) I am getting the error message:
libLAS configuration, version 1.8.1 CMake Error at /home/cornelis/Main/develop/libLAS/release/cmake/liblas-config.cmake:22 (include): include could not find load file: /home/cornelis/Main/develop/libLAS/release/cmake/liblas-depends.cmake Call Stack (most recent call first): VTK/CMake/vtkModule.cmake:4222 (find_package) VTK/IO/LAS/CMakeLists.txt:1 (vtk_module_find_package)
Well, liblas-depende.cmake exists, but not where the tool is looking for it, but rather in
So something seems to be somehow misaligned. Simply copying it to the location where it is expected will result in looking for the library (.so) file in the wrong location - and even in a place where I really do not want to copy it manually.
…and above all: This manually fiddling around and moving files is exactly not what is the intention of working with CMake & Co!
Bottom line: Is there still some magic “ninja install export mega $$$” command that I am missing?
PS: I must admit that I am still after years fighting with the concepts of “installing”, “importing”, “exporting” etc. in CMake - and I am afraid I will never really get it! So the easiest way is always to have a working setup - somehow… (In the current case it looks almost like the easiest thing would be to simply copy the libLAS library and include files, but this is not working with the CMake build and superbuild setup…)