14 lines
308 B
CMake
14 lines
308 B
CMake
include(FetchContent)
|
|
|
|
FetchContent_Declare(
|
|
eigen
|
|
EXCLUDE_FROM_ALL
|
|
GIT_REPOSITORY https://gitlab.com/libeigen/eigen.git
|
|
GIT_TAG master
|
|
GIT_SHALLOW TRUE
|
|
)
|
|
set(EIGEN_BUILD_DOC OFF)
|
|
set(BUILD_TESTING OFF)
|
|
set(EIGEN_BUILD_PKGCONFIG OFF)
|
|
FetchContent_MakeAvailable(eigen)
|