file(GLOB_RECURSE SRC *.cpp) add_library(locate SHARED ${SRC}) target_include_directories(locate PUBLIC state voxel_map localize ${PCL_INCLUDE_DIRS} ) target_link_libraries(locate PUBLIC state voxel_map localize )