diff options
Diffstat (limited to 'dev-cpp/eigen/files/eigen-3.3.9-disable-cholmod_support.patch')
-rw-r--r-- | dev-cpp/eigen/files/eigen-3.3.9-disable-cholmod_support.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-cpp/eigen/files/eigen-3.3.9-disable-cholmod_support.patch b/dev-cpp/eigen/files/eigen-3.3.9-disable-cholmod_support.patch new file mode 100644 index 000000000000..e3b9db5a1707 --- /dev/null +++ b/dev-cpp/eigen/files/eigen-3.3.9-disable-cholmod_support.patch @@ -0,0 +1,20 @@ +--- a/test/CMakeLists.txt ++++ b/test/CMakeLists.txt +@@ -46,16 +46,7 @@ + + set(SPARSE_LIBS " ") + +-find_package(Cholmod) +-if(CHOLMOD_FOUND) +- add_definitions("-DEIGEN_CHOLMOD_SUPPORT") +- include_directories(${CHOLMOD_INCLUDES}) +- set(SPARSE_LIBS ${SPARSE_LIBS} ${CHOLMOD_LIBRARIES} ${EIGEN_BLAS_LIBRARIES} ${EIGEN_LAPACK_LIBRARIES}) +- set(CHOLMOD_ALL_LIBS ${CHOLMOD_LIBRARIES} ${EIGEN_BLAS_LIBRARIES} ${EIGEN_LAPACK_LIBRARIES}) +- ei_add_property(EIGEN_TESTED_BACKENDS "Cholmod, ") +-else() +- ei_add_property(EIGEN_MISSING_BACKENDS "Cholmod, ") +-endif() ++ei_add_property(EIGEN_MISSING_BACKENDS "Cholmod, ") + + find_package(Umfpack) + if(UMFPACK_FOUND) |