forked from MASKOR/cc_qMapit_IO_plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
40 lines (31 loc) · 968 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
cmake_minimum_required(VERSION 3.0)
option( INSTALL_QMAPIT_IO_PLUGIN "Check to install qMapitIO plugin" OFF )
if (INSTALL_QMAPIT_IO_PLUGIN)
project( QMAPIT_IO_PLUGIN )
set( CC_IS_IO_PLUGIN 1 )
# set_target_properties(${PROJECT_NAME} PROPERTIES
# CXX_STANDARD 14
# )
# For handeling pointclouds
find_package(PCL QUIET REQUIRED)
include_directories(${PCL_INCLUDE_DIRS})
link_directories(${PCL_LIBRARY_DIRS})
add_definitions(${PCL_DEFINITIONS})
# To connect to the repo
find_package(mapit REQUIRED)
include_directories(
src
)
add_subdirectory( src )
include( ../../CMakePluginTpl.cmake )
# To use the PCL utils for pointclouds convertion
find_package(QPCL_PLUGIN)
include_directories(${QPCL_PLUGIN_UTILS_LIB_SOURCE_DIR}/utils)
target_link_libraries(${PROJECT_NAME}
${mapit_standard_repository_factory}
layertype_pointcloud2
mapit_operators_load_tfs
${PCL_LIBRARIES}
QPCL_PLUGIN_UTILS_LIB
)
endif()