Skip to content

Instantly share code, notes, and snippets.

@jacquelinekay
Created April 21, 2016 19:11
Show Gist options
  • Save jacquelinekay/3158868ccdb044920b31acfdb065b6b6 to your computer and use it in GitHub Desktop.
Save jacquelinekay/3158868ccdb044920b31acfdb065b6b6 to your computer and use it in GitHub Desktop.
CMakeLists for PCL error
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
project(pcl_error)
find_package(PCL 1.7 REQUIRED)
include_directories(${PCL_INCLUDE_DIRS})
link_directories(${PCL_LIBRARY_DIRS})
add_definitions(${PCL_DEFINITIONS})
add_executable(pcl_err pcl_err.cpp)
target_link_libraries(pcl_err ${PCL_LIBRARIES})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment