diff --git a/TriangulationAlgorithms/CMakeLists.txt b/TriangulationAlgorithms/CMakeLists.txt index 57bc57e..0f5d91d 100644 --- a/TriangulationAlgorithms/CMakeLists.txt +++ b/TriangulationAlgorithms/CMakeLists.txt @@ -1,6 +1,14 @@ SET( TRIANGULATION_ALGORITHMS_SRC - TriangulationAlgorithm.cpp - MinimumWeightTriangulation.cpp + TriangulationAlgorithm.cpp + MinimumWeightTriangulation.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(TriangulationAlgorithms SHARED ${TRIANGULATION_ALGORITHMS_SRC})