diff --git a/SegmentationAlgorithms/CMakeLists.txt b/SegmentationAlgorithms/CMakeLists.txt index f8f5f42..747ff2d 100644 --- a/SegmentationAlgorithms/CMakeLists.txt +++ b/SegmentationAlgorithms/CMakeLists.txt @@ -1,6 +1,14 @@ SET( SEGMENTATION_ALGORITHMS_SRC SegmentationAlgorithm.cpp PlanarSegmentation.cpp + # Add mesh library dependency explicitly here in order to prevent + # linker problems. + ../directed_edge.cpp + ../edge.cpp + ../face.cpp + ../mesh.cpp + ../v3ctor.cpp + ../vertex.cpp ) ADD_LIBRARY(SegmentationAlgorithms SHARED ${SEGMENTATION_ALGORITHMS_SRC})