Skip to content

Commit 01b3e0b

Browse files
committed
make eigen dependency not conditional
1 parent 29cfbd7 commit 01b3e0b

1 file changed

Lines changed: 8 additions & 10 deletions

File tree

cmake/ExternalDependencies.cmake

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,14 @@ if(BUILD_MQT_CORE_BINDINGS)
2222
find_package(nanobind CONFIG REQUIRED)
2323
endif()
2424

25-
if(BUILD_MQT_CORE_MLIR)
26-
FetchContent_Declare(
27-
Eigen
28-
GIT_REPOSITORY https://gitlab.com/libeigen/eigen.git
29-
GIT_TAG 5.0.1
30-
GIT_SHALLOW TRUE
31-
FIND_PACKAGE_ARGS 3.4.0 # minimum version for locally installed package
32-
)
33-
list(APPEND FETCH_PACKAGES Eigen)
34-
endif()
25+
FetchContent_Declare(
26+
Eigen
27+
GIT_REPOSITORY https://gitlab.com/libeigen/eigen.git
28+
GIT_TAG 5.0.1
29+
GIT_SHALLOW TRUE
30+
FIND_PACKAGE_ARGS 3.4.0 # minimum version for locally installed package
31+
)
32+
list(APPEND FETCH_PACKAGES Eigen)
3533

3634
set(JSON_VERSION
3735
3.12.0

0 commit comments

Comments
 (0)