Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 12 additions & 20 deletions calibrate_sweeps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,23 @@ project(calibrate_sweeps)
find_package(catkin REQUIRED COMPONENTS roscpp message_generation qt_build semantic_map metaroom_xml_parser strands_sweep_registration actionlib actionlib_msgs)

set(CMAKE_CXX_FLAGS "-O4 -fPIC -std=c++0x -fpermissive ${CMAKE_CXX_FLAGS}")
set(CMAKE_PREFIX_PATH /usr/share/pcl-1.7/ ${CMAKE_PREFIX_PATH})
set(PCL_DIR /usr/share/pcl-1.7/)
find_package(PCL 1.7 REQUIRED NO_DEFAULT_PATH)





set(PCL_DIR "/usr/lib/x86_64-linux-gnu/cmake/pcl/")



find_package(PCL 1.3 REQUIRED)

include_directories(${PCL_INCLUDE_DIRS})
link_directories(${PCL_LIBRARY_DIRS})
add_definitions(${PCL_DEFINITIONS})



rosbuild_prepare_qt4(QtCore QtXml)

add_action_files(
Expand All @@ -40,20 +49,3 @@ catkin_package(
include_directories(
${catkin_INCLUDE_DIRS}
)

add_executable(calibrate_sweep_as src/calibrate_sweep_action_server.cpp )
add_dependencies(calibrate_sweep_as calibrate_sweeps_generate_messages_cpp)

target_link_libraries(calibrate_sweep_as
${catkin_LIBRARIES}
${PCL_LIBRARIES}
${QT_LIBRARIES}
)

############################# INSTALL TARGETS

install(TARGETS calibrate_sweep_as
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
Loading