yanii / kitti-pcl

Code to use the KITTI (http://www.cvlibs.net/datasets/kitti) data set with PCL
BSD 2-Clause "Simplified" License
334 stars 119 forks source link

A mis-configuration in the CMakeList #4

Open MaYaowei opened 6 years ago

MaYaowei commented 6 years ago

Dear Yanii: The CMakeList.txt in src folder is : x`ADD_EXECUTABLE(kitti2pcd kitti2pcd.cpp) TARGET_LINK_LIBRARIES(kitti2pcd ${Boost_LIBRARIES} ${PCL_LIBRARIES})

ADD_EXECUTABLE(kittitrackletextract kittitrackletextract.cpp ${CMAKE_SOURCE_DIR}/include/tracklets.h) TARGET_LINK_LIBRARIES(kittitrackletextract ${Boost_LIBRARIES} ${PCL_LIBRARIES})

INSTALL(TARGETS kitti2pcd kittitrackletextract RUNTIME DESTINATION bin COMPONENT app LIBRARY DESTINATION lib COMPONENT runtime ARCHIVE DESTINATION lib COMPONENT runtime PUBLIC_HEADER DESTINATION include COMPONENT dev FRAMEWORK DESTINATION "/Library/Frameworks" ) ` But in fact, the header file 'tracklets.h' is in 'include' folder, not 'src' folder, so I think the 4th line should be :ADD_EXECUTABLE(kittitrackletextract kittitrackletextract.cpp ${CMAKE_SOURCE_DIR}/../include/tracklets.h)

MaYaowei commented 6 years ago

I add '..' between source_dir and 'include'