From 6e01ecfa2dea6db88b94b31746f77e83b5d663fc Mon Sep 17 00:00:00 2001 From: Bastian Rieck Date: Fri, 5 Jan 2018 11:52:58 +0100 Subject: [PATCH] Fixed linker issues for segmentation algorithms --- SegmentationAlgorithms/CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) 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})