ros-drivers / openni_tracker

24 stars 45 forks source link

find_library(Nite_LIBRARY) is version specific #7

Closed cottsay closed 9 years ago

cottsay commented 10 years ago

The version of openni-nite on Fedora bundles the library under a different name than does ubuntu, where:

find_library(Nite_LIBRARY
             NAMES XnVNite_1_3_1
             HINTS /usr/lib /usr/local/lib
             PATH_SUFFIXES lib)

...is used on ubuntu,

find_library(Nite_LIBRARY
             NAMES XnVNite_1_4_1
             HINTS /usr/lib /usr/local/lib
             PATH_SUFFIXES lib)

...is valid on Fedora.

I'm not sure if attempting to find one and failing back to the other is the best idea or what. Either way, this is blocking builds on Fedora.

If the find_library is updated, the package compiles fine (barring all of the deprecation warnings).

cottsay commented 9 years ago

Closed via https://github.com/ros-drivers/openni_tracker/pull/8