diff --git a/cmake/functions.cmake b/cmake/functions.cmake index 960b87a..0bb1979 100644 --- a/cmake/functions.cmake +++ b/cmake/functions.cmake @@ -32,7 +32,6 @@ macro(_parse_arguments ARGS) USES_PCL USES_ROS USES_YAMLCPP - USES_ZLIB ) set(ONE_VALUE_ARG ) set(MULTI_VALUE_ARGS SRCS HDRS DEPENDS) @@ -88,12 +87,6 @@ macro(_common_compile_stuff VISIBILITY) ) endif() - if(ARG_USES_ZLIB) - target_include_directories("${NAME}" SYSTEM ${VISIBILITY} - "${ZLIB_INCLUDE_DIRS}") - target_link_libraries("${NAME}" ${ZLIB_LIBRARIES}) - endif() - if(ARG_USES_CARTOGRAPHER) target_include_directories("${NAME}" SYSTEM ${VISIBILITY} "${CARTOGRAPHER_INCLUDE_DIRS}")