Commit be37e4e9 authored by haoshuang's avatar haoshuang

update

parent c725af13
...@@ -18,7 +18,10 @@ set(JFX_COMMON_LIBS_PATH ${PROJECT_SOURCE_DIR}/../jfx_common_libs) ...@@ -18,7 +18,10 @@ set(JFX_COMMON_LIBS_PATH ${PROJECT_SOURCE_DIR}/../jfx_common_libs)
find_package(Eigen3 REQUIRED) find_package(Eigen3 REQUIRED)
include_directories(${EIGEN3_INCLUDE_DIRS}) include_directories(${EIGEN3_INCLUDE_DIRS})
find_package(PCL 1.8 REQUIRED ) find_package(PCL 1.10 EXACT REQUIRED )
set(PCL_INCLUDE_DIRS /usr/include/pcl-1.10)
file(GLOB PCL_LIBRARIES /usr/lib/aarch64-linux-gnu/libpcl_*)
add_definitions(${PCL_DEFINITIONS})
if(NOT PCL_FOUND) if(NOT PCL_FOUND)
message(STATUS "JFX_XXXXXXXXXXXX:PCL_NOTFOUND") message(STATUS "JFX_XXXXXXXXXXXX:PCL_NOTFOUND")
else() else()
...@@ -29,7 +32,8 @@ endif() ...@@ -29,7 +32,8 @@ endif()
include_directories( include_directories(
${PROJECT_SOURCE_DIR}/src ${PROJECT_SOURCE_DIR}/src
${JFX_COMMON_LIBS_PATH}/utils ${JFX_COMMON_LIBS_PATH}/utils
${PCL_INCLUDE_DIRS}
) )
file(GLOB_RECURSE COMMON_SRC_LIST file(GLOB_RECURSE COMMON_SRC_LIST
${JFX_COMMON_LIBS_PATH}/utils/yaml_parser.cpp ${JFX_COMMON_LIBS_PATH}/utils/yaml_parser.cpp
...@@ -223,7 +227,7 @@ target_link_libraries(${PROJECT_NAME}_node ...@@ -223,7 +227,7 @@ target_link_libraries(${PROJECT_NAME}_node
) )
target_link_libraries(${PROJECT_NAME}_node yaml-cpp -lpcl_filters ) target_link_libraries(${PROJECT_NAME}_node yaml-cpp -lpcl_filters )
target_link_libraries(${PROJECT_NAME}_node ${PCL_COMMON_LIBRARIES} ${PCL_IO_LIBRARIES} ${PCL_LIBRARIES}) target_link_libraries(${PROJECT_NAME}_node ${PCL_LIBRARIES})
if(KF_CUDA) if(KF_CUDA)
target_link_libraries(${PROJECT_NAME}_node kf_cuda) target_link_libraries(${PROJECT_NAME}_node kf_cuda)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment