Commit b0d91d17 authored by Sylvain Thery's avatar Sylvain Thery
Browse files

SuiteSparse mac linking bug

parent 87fcb3c9
...@@ -3,15 +3,15 @@ ...@@ -3,15 +3,15 @@
using namespace CGoGN; using namespace CGoGN;
template struct Utils::CodeVector<Geom::Vec3f>; //template struct Utils::CodeVector<Geom::Vec3f>;
template struct Utils::CodeVector<Geom::Vec3d>; //template struct Utils::CodeVector<Geom::Vec3d>;
template struct Utils::CodeVector<Geom::Vec4d>; //template struct Utils::CodeVector<Geom::Vec4d>;
template class Utils::Quantization<Geom::Vec3f>; //template class Utils::Quantization<Geom::Vec3f>;
template class Utils::Quantization<Geom::Vec3d>; //template class Utils::Quantization<Geom::Vec3d>;
template class Utils::Quantization<Geom::Vec4d>; //template class Utils::Quantization<Geom::Vec4d>;
int test_quantization() int test_quantization()
......
...@@ -390,6 +390,18 @@ if(SUITESPARSE_USE_LAPACK_BLAS) ...@@ -390,6 +390,18 @@ if(SUITESPARSE_USE_LAPACK_BLAS)
endif() endif()
find_library(SSPARSE_CONFIG_LIB
NAMES libsuitesparseconfig suitesparseconfig
PATHS /opt/local/lib${SUITESPARSE_SEARCH_LIB_POSTFIX}
/usr/lib${SUITESPARSE_SEARCH_LIB_POSTFIX}
/usr/local/lib${SUITESPARSE_SEARCH_LIB_POSTFIX}
${SUITESPARSE_DIR}
PATH_SUFFIXES Release Debug)
if (SSPARSE_CONFIG_LIB)
list(APPEND SUITESPARSE_LIBRARIES ${SSPARSE_CONFIG_LIB})
endif()
if(SUITESPARSE_INCLUDE_DIRS) if(SUITESPARSE_INCLUDE_DIRS)
list(REMOVE_DUPLICATES SUITESPARSE_INCLUDE_DIRS) list(REMOVE_DUPLICATES SUITESPARSE_INCLUDE_DIRS)
endif() endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment