-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
18 lines (12 loc) · 823 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
cmake_minimum_required(VERSION 2.6)
# PCL has modules that find Flann and Eigen
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR} /home/pabbeel/wh/pcl-trunk/build /home/pabbeel/wh/pcl-trunk/cmake/Modules)
include_directories(${PROJECT_SOURCE_DIR}/include)
find_package(PCL 1.0 REQUIRED COMPONENTS common features keypoints io visualization)
include_directories(${PCL_INCLUDE_DIRS})
find_package(Eigen REQUIRED)
include_directories(${EIGEN_INCLUDE_DIRS})
find_package(VTK 5.8 REQUIRED)
include(${VTK_USE_FILE})
add_executable(main src/main.cpp src/detector.cpp src/proctor.cpp src/scanner.cpp)
target_link_libraries(main ${FLANN_LIBRARIES} ${PCL_COMMON_LIBRARIES} ${PCL_FEATURES_LIBRARIES} ${PCL_KEYPOINTS_LIBRARIES} ${PCL_IO_LIBRARIES} ${PCL_VISUALIZATION_LIBRARIES} vtkCommon vtkFiltering vtkGraphics vtkIO)