MAC OS X binaries fixed bundle. Freenect underscore vs dashed includes

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1394 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
matlabbe
2014-06-17 01:45:52 +00:00
parent 863caab3cd
commit 586f4e3d86
7 changed files with 30 additions and 8 deletions

View File

@@ -53,6 +53,9 @@ SET(LIBRARIES
IF(Freenect_FOUND)
ADD_DEFINITIONS("-DWITH_FREENECT")
IF(Freenect_DASH_INCLUDES)
ADD_DEFINITIONS("-DFREENECT_DASH_INCLUDES")
ENDIF(Freenect_DASH_INCLUDES)
SET(INCLUDE_DIRS
${INCLUDE_DIRS}
${Freenect_INCLUDE_DIRS}

View File

@@ -36,7 +36,11 @@
#ifdef WITH_FREENECT
#include <libfreenect.h>
#ifdef FREENECT_DASH_INCLUDES
#include <libfreenect-registration.h>
#else
#include <libfreenect_registration.h>
#endif
#endif
#ifdef WITH_OPENNI2