aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--cmake/FindCholmod.cmake4
-rw-r--r--test/CMakeLists.txt5
2 files changed, 0 insertions, 9 deletions
diff --git a/cmake/FindCholmod.cmake b/cmake/FindCholmod.cmake
index 3b9d5d3dc..444279ab9 100644
--- a/cmake/FindCholmod.cmake
+++ b/cmake/FindCholmod.cmake
@@ -61,10 +61,6 @@ if(CHOLMOD_LIBRARIES)
endif(CHOLMOD_LIBRARIES)
-if(CHOLMOD_LIBRARIES AND CMAKE_COMPILER_IS_GNUCXX)
- set(CHOLMOD_LIBRARIES ${CHOLMOD_LIBRARIES} -lgfortran)
-endif(CHOLMOD_LIBRARIES AND CMAKE_COMPILER_IS_GNUCXX)
-
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(CHOLMOD DEFAULT_MSG
CHOLMOD_INCLUDES CHOLMOD_LIBRARIES)
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 57df6e6c0..01bb721a3 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -34,11 +34,6 @@ else(CHOLMOD_FOUND)
set(EIGEN_MISSING_BACKENDS ${EIGEN_MISSING_BACKENDS} Cholmod)
endif(CHOLMOD_FOUND)
-# option(EIGEN_TEST_NO_FORTRAN "Disable Fortran" OFF)
-# if(NOT MSVC AND NOT EIGEN_TEST_NO_FORTRAN)
-# enable_language(Fortran OPTIONAL)
-# endif(NOT MSVC AND NOT EIGEN_TEST_NO_FORTRAN)
-
find_package(Umfpack)
if(UMFPACK_FOUND)
add_definitions("-DEIGEN_UMFPACK_SUPPORT")