Skip to content

No libfreenect.pc installation on Mac OS X #410

@mindrones

Description

@mindrones

In short: when compiling on Mac OS X (10.7.5) libfreenect.pc is not installed, causing problems compiling other libraries depending on libfreenect.


In src/CMakeLists.txt this block:

IF(UNIX AND NOT APPLE)
  # Produce a pkg-config file for linking against the shared lib
  configure_file ("libfreenect.pc.in" "libfreenect.pc" @ONLY)
  install (FILES "${CMAKE_CURRENT_BINARY_DIR}/libfreenect.pc"
    DESTINATION "${PROJECT_LIBRARY_INSTALL_DIR}/pkgconfig")
ENDIF()`

prevents from installing libfreenect.pc. When compiling another library depending on libfreenect, this line in the offended library configure.ac:

PKG_CHECK_MODULES(FREENECT, libfreenect >= 0.0)

fails to find the libfreenect version causing compiling problems.

If there isn't a specific reason why this has been disabled, it would be nice to have it enabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions