diff --git a/2d/CMakeLists.txt b/2d/CMakeLists.txt index 967a3008510..afaa9984609 100644 --- a/2d/CMakeLists.txt +++ b/2d/CMakeLists.txt @@ -27,8 +27,6 @@ if(build) "include/pcl/${SUBSYS_NAME}/impl/morphology.hpp" ) - set(LIB_NAME "pcl_${SUBSYS_NAME}") - if(${VTK_FOUND}) set(VTK_USE_FILE "${VTK_USE_FILE}" CACHE INTERNAL "VTK_USE_FILE") include("${VTK_USE_FILE}") @@ -36,10 +34,6 @@ if(build) endif(${VTK_FOUND}) include_directories("${CMAKE_CURRENT_SOURCE_DIR}/include" ${VTK_INCLUDE_DIRECTORIES}) - PCL_ADD_LIBRARY("${LIB_NAME}" "${SUBSYS_NAME}" ${srcs} ${incs} ${impl_incs}) - link_directories(${VTK_LINK_DIRECTORIES}) - target_link_libraries("${LIB_NAME}" ${VTK_LIBRARIES} pcl_io) - PCL_MAKE_PKGCONFIG("${LIB_NAME}" "${SUBSYS_NAME}" "${SUBSYS_DESC}" "${SUBSYS_DEPS}" "" "" "" "") #Install include files PCL_ADD_INCLUDES("${SUBSYS_NAME}" "${SUBSYS_NAME}" ${incs})