<commit_before>set(SUBSYS_NAME surface)
set(SUBSYS_DESC "Point cloud surface library")
set(SUBSYS_DEPS common io features)

set(build TRUE)
PCL_SUBSYS_OPTION(build ${SUBSYS_NAME} ${SUBSYS_DESC} ON)
PCL_SUBSYS_DEPEND(build ${SUBSYS_NAME} ${SUBSYS_DEPS})

if(build)
    find_package(Qhull REQUIRED)
    include_directories(${Qhull_INCLUDE_DIRS})

    include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)

    set(srcs src/concave_hull.cpp
        src/convex_hull.cpp
        src/gp3.cpp
        src/grid_projection.cpp
        src/mls.cpp
        )

    set(LIB_NAME pcl_${SUBSYS_NAME})
    PCL_ADD_LIBRARY(${LIB_NAME} ${SUBSYS_NAME} ${srcs})
    PCL_ADD_SSE_FLAGS(${LIB_NAME})
    target_link_libraries(${LIB_NAME} ${Qhull_LIBRARIES} ${Boost_LIBRARIES})
    PCL_MAKE_PKGCONFIG(${LIB_NAME} ${SUBSYS_NAME} "${SUBSYS_DESC}"
        "${SUBSYS_DEPS}" "" "" "")

    # Install include files
    set(incs include/pcl/${SUBSYS_NAME}/concave_hull.h
        include/pcl/${SUBSYS_NAME}/convex_hull.h
        include/pcl/${SUBSYS_NAME}/gp3.h<commit_msg>Added kdtree dependency for surface<commit_after>set(SUBSYS_NAME surface)
set(SUBSYS_DESC "Point cloud surface library")
set(SUBSYS_DEPS common io features kdtree)

set(build TRUE)
PCL_SUBSYS_OPTION(build ${SUBSYS_NAME} ${SUBSYS_DESC} ON)
PCL_SUBSYS_DEPEND(build ${SUBSYS_NAME} ${SUBSYS_DEPS})

if(build)
    find_package(Qhull REQUIRED)
    include_directories(${Qhull_INCLUDE_DIRS})

    include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)

    set(srcs src/concave_hull.cpp
        src/convex_hull.cpp
        src/gp3.cpp
        src/grid_projection.cpp
        src/mls.cpp
        )

    set(LIB_NAME pcl_${SUBSYS_NAME})
    PCL_ADD_LIBRARY(${LIB_NAME} ${SUBSYS_NAME} ${srcs})
    PCL_ADD_SSE_FLAGS(${LIB_NAME})
    target_link_libraries(${LIB_NAME} ${Qhull_LIBRARIES} ${Boost_LIBRARIES})
    PCL_MAKE_PKGCONFIG(${LIB_NAME} ${SUBSYS_NAME} "${SUBSYS_DESC}"
        "${SUBSYS_DEPS}" "" "" "")

    # Install include files
    set(incs include/pcl/${SUBSYS_NAME}/concave_hull.h
        include/pcl/${SUBSYS_NAME}/convex_hull.h
        include/pcl/${SUBSYS_NAME}/gp3.h
{'fraction_non_alphanumeric': 0.12753897024090693, 'fraction_numerical': 0.001889466225791214, 'mean_word_length': 4.430769230769231, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2094932', 'n_tokens_mistral': 836, 'n_tokens_neox': 847, 'n_words': 106}