parent
cc7cc6f72b
commit
edff6a1e24
|
@ -32,7 +32,6 @@ macro(_parse_arguments ARGS)
|
||||||
USES_PCL
|
USES_PCL
|
||||||
USES_ROS
|
USES_ROS
|
||||||
USES_YAMLCPP
|
USES_YAMLCPP
|
||||||
USES_ZLIB
|
|
||||||
)
|
)
|
||||||
set(ONE_VALUE_ARG )
|
set(ONE_VALUE_ARG )
|
||||||
set(MULTI_VALUE_ARGS SRCS HDRS DEPENDS)
|
set(MULTI_VALUE_ARGS SRCS HDRS DEPENDS)
|
||||||
|
@ -88,12 +87,6 @@ macro(_common_compile_stuff VISIBILITY)
|
||||||
)
|
)
|
||||||
endif()
|
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)
|
if(ARG_USES_CARTOGRAPHER)
|
||||||
target_include_directories("${NAME}" SYSTEM ${VISIBILITY}
|
target_include_directories("${NAME}" SYSTEM ${VISIBILITY}
|
||||||
"${CARTOGRAPHER_INCLUDE_DIRS}")
|
"${CARTOGRAPHER_INCLUDE_DIRS}")
|
||||||
|
|
Loading…
Reference in New Issue