From 2ad476f9ad15abdac959e5b6426cb6dffef69b3a Mon Sep 17 00:00:00 2001 From: Bastian Rieck Date: Fri, 5 Jan 2018 11:50:37 +0100 Subject: [PATCH] Fixing linker issues for subdivision algorithms I honestly do not know what I thought when I wrote the corresponding CMake file... It is truly a marvel that this used to work at all. --- SubdivisionAlgorithms/CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/SubdivisionAlgorithms/CMakeLists.txt b/SubdivisionAlgorithms/CMakeLists.txt index 9400646..5cf86c7 100644 --- a/SubdivisionAlgorithms/CMakeLists.txt +++ b/SubdivisionAlgorithms/CMakeLists.txt @@ -5,6 +5,14 @@ SET( SUBDIVISION_ALGORITHMS_SRC DooSabin.cpp Liepa.cpp Loop.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(SubdivisionAlgorithms SHARED ${SUBDIVISION_ALGORITHMS_SRC})