project(stereoProcessing) cmake_minimum_required(VERSION 2.8) aux_source_directory(. SRC_LIST) find_package(PkgConfig REQUIRED) find_package(PCL 1.7 REQUIRED COMPONENTS common visualization filters segmentation sample_consensus) find_package(Eigen3 REQUIRED) find_package(Boost REQUIRED COMPONENTS system filesystem) find_package(OpenCV REQUIRED) include_directories(${Boost_INCLUDE_DIRS} ${PCL_INCLUDE_DIRS} ${OpenCV_INCLUDE_DIRS} ${EIGEN_INCLUDE_DIRS}) add_executable(dataProcessing dataProcessing.cpp stereo.cpp pointcloudfiltering.cpp threadpool.cpp reprojectto3d.cpp) #add_executable(simple_pcd_viewer simple_pcd_viewer.cpp) #add_executable(data_processing data_processing.cpp) #target_link_libraries(pcd_viewer ${GTKMM_LIBRARIES} ${Boost_LIBRARIES} ${PCL_LIBRARIES} ${OpenCV_LIBRARIES} ${EIGEN_LIBRARIES}) #target_link_libraries(simple_pcd_viewer ${Boost_LIBRARIES} ${PCL_LIBRARIES} ${OpenCV_LIBRARIES} ${EIGEN_LIBRARIES}) target_link_libraries(dataProcessing ${Boost_LIBRARIES} ${PCL_LIBRARIES} ${OpenCV_LIBRARIES})