Skip to content

Commit

Permalink
Added LZ4
Browse files Browse the repository at this point in the history
  • Loading branch information
danielduberg committed Mar 16, 2020
1 parent d9f383a commit 014238f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ufomap/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,13 @@ find_package(catkin REQUIRED)
catkin_package(
INCLUDE_DIRS include ${catkin_INCLUDE_DIRS} ${UFOMAP_INCLUDE_DIRS}
LIBRARIES ${PROJECT_NAME} ${catkin_LIBRARIES} ${OpenMP_LIBRARIES}
DEPENDS OpenMP
DEPENDS OpenMP LZ4
)

find_package(PkgConfig REQUIRED)
pkg_check_modules(LZ4 REQUIRED liblz4)
# find_library(LZ4 lz4)

include_directories(
include
${catkin_INCLUDE_DIRS}
Expand All @@ -88,6 +92,7 @@ target_compile_options(${PROJECT_NAME} PRIVATE ${OpenMP_FLAGS})
target_link_libraries(${PROJECT_NAME}
${catkin_LIBRARIES}
${OpenMP_LIBRARIES}
${LZ4_LIBRARIES}
)

install(TARGETS ${PROJECT_NAME}
Expand Down

0 comments on commit 014238f

Please sign in to comment.