mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Adds new CMake Options for controlling build components.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
project(EigenLapack CXX)
|
||||
|
||||
if(EIGEN_BUILD_LAPACK AND EIGEN_BUILD_BLAS)
|
||||
|
||||
include(CheckLanguage)
|
||||
check_language(Fortran)
|
||||
if(CMAKE_Fortran_COMPILER)
|
||||
@@ -457,3 +459,6 @@ if(EXISTS ${eigen_full_path_to_testing_lapack})
|
||||
|
||||
endif()
|
||||
|
||||
elseif(EIGEN_BUILD_LAPACK AND NOT EIGEN_BUILD_BLAS)
|
||||
message(FATAL_ERROR "EIGEN_BUILD_LAPACK requires EIGEN_BUILD_BLAS")
|
||||
endif() #EIGEN_BUILD_LAPACK
|
||||
|
||||
Reference in New Issue
Block a user