3dtof / voxelsdk

VoxelSDK - an SDK supporting TI's 3D Time of Flight cameras
BSD 3-Clause "New" or "Revised" License
107 stars 71 forks source link

Prebuilt binary strange TI3DTofConfig.cmake #113

Open Arrowana opened 7 years ago

Arrowana commented 7 years ago

I was trying to compile the TintinCDK example https://github.com/3dtof/voxelsdk-examples It seems like the TI3DToF_INCLUDE_DIRS is broken because building the project for Visual Studio 2015 will result in all the TI3DTof includes missing.

In TI3DTofConfig.cmake set(TI3DToF_INCLUDE_DIRS "${TI3DTOF_CMAKE_DIR}../include/voxel-0.6.5" "${VOXEL_INCLUDE_DIRS}") imports two times the Voxel include directory, in two different ways...

I replaced the line with: set(TI3DToF_INCLUDE_DIRS "${VOXEL_INCLUDE_DIRS}/ti3dtof")

Now the TI3DTOF includes are properly linked