From 4e489aff1b7fd2075ca5804112b4c6ede64aca50 Mon Sep 17 00:00:00 2001 From: Benn Snyder Date: Mon, 1 Sep 2014 14:28:42 -0600 Subject: [PATCH] Install libfreenect.pc on OSX - fixes #410 Fix broken link in README.md Signed-off-by: Benn Snyder --- README.md | 2 +- src/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 654d0ad7..33cc55b7 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,7 @@ Wrappers are not guaranteed to be API stable or up to date. # cython freenect.pyx python2 setup.py build_ext --inplace -For example, start with [demo_cv_async.py](https://gihub.com/OpenKinect/libfreenect/tree/master/wrappers/python/devmo_cv_async.py). +For example, start with [demo_cv_async.py](https://github.com/OpenKinect/libfreenect/tree/master/wrappers/python/demo_cv_async.py). # Code Contributions diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 9534ea55..65ce1894 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -47,7 +47,7 @@ target_link_libraries (freenectstatic ${LIBUSB_1_LIBRARIES}) install (FILES "../include/libfreenect.h" "../include/libfreenect_registration.h" "../include/libfreenect_audio.h" DESTINATION ${PROJECT_INCLUDE_INSTALL_DIR}) -IF(UNIX AND NOT APPLE) +IF(UNIX) # 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"