LookingGlassVTKModule icon indicating copy to clipboard operation
LookingGlassVTKModule copied to clipboard

HoloPlayCore is not found correctly

Open mwestphal opened this issue 5 years ago • 3 comments

The findHoloPlayCore.cmake file does not help to find the HoloPlayCore.lib file in the right directory, has it may be in the bin directory.

mwestphal avatar Oct 22 '20 13:10 mwestphal

I think adding PATHS bin to the find_library call may be enough, but testing would be necessary.

mathstuf avatar Oct 22 '20 13:10 mathstuf

To avoid maintaining our own Findxxx.cmake file, I suggest we create a HoloPlayCoreConfig.cmake and ask LookingGlass to distribute it with the SDK. This would greatly simplify the integration of the SDK and promote CMake best practices.

What do you think?

On Thu, Oct 22, 2020, 9:27 AM Ben Boeckel [email protected] wrote:

I think adding PATHS bin to the find_library call may be enough, but testing would be necessary.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Kitware/LookingGlassVTKModule/issues/14#issuecomment-714493275, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABVPI7C2CTX2LETOWMSTQ3SMAXMFANCNFSM4S3GJ2AA .

jcfr avatar Oct 23 '20 12:10 jcfr

If that works, fine, but note that you'll effective minimum version will then be the version that finally shows up in (and works). Note that the FindHoloPlayCore breaks find_package(ParaView) when LookingGlass support is enabled today because this find module doesn't work without manual help to find the .lib on Windows.

mathstuf avatar Oct 23 '20 13:10 mathstuf