Skip to content

Commit 2078571

Browse files
committed
remove armadillo in cmake
1 parent 26029ae commit 2078571

2 files changed

Lines changed: 1 addition & 19 deletions

File tree

CMakeLists.txt

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,6 @@ include(PackageAddTest)
2424
include(Cache)
2525
include(AddMQTCoreLibrary)
2626

27-
# include(FetchContent)
28-
# FetchContent_Declare(
29-
# armadillo
30-
# GIT_REPOSITORY https://gitlab.com/conradsnicta/armadillo-code.git
31-
# GIT_TAG 15.0.1
32-
# )
33-
# FetchContent_MakeAvailable(armadillo)
34-
find_package(Armadillo 15 REQUIRED)
35-
if(Armadillo_FOUND AND NOT TARGET Armadillo::Armadillo)
36-
add_library(Armadillo::Armadillo INTERFACE IMPORTED)
37-
set_target_properties(
38-
Armadillo::Armadillo
39-
PROPERTIES
40-
INTERFACE_LINK_LIBRARIES "${ARMADILLO_LIBRARIES}"
41-
INTERFACE_INCLUDE_DIRECTORIES "${ARMADILLO_INCLUDE_DIRS}"
42-
)
43-
endif()
44-
4527
option(BUILD_MQT_CORE_BINDINGS "Build the MQT Core Python bindings" OFF)
4628
if(BUILD_MQT_CORE_BINDINGS)
4729
# ensure that the BINDINGS option is set

mlir/lib/Dialect/MQTOpt/Transforms/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Licensed under the MIT License
88

99
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
10-
set(LIBRARIES ${dialect_libs} MQT::CoreIR MQT::CoreDD Armadillo::Armadillo)
10+
set(LIBRARIES ${dialect_libs} MQT::CoreIR MQT::CoreDD)
1111
add_compile_options(-fexceptions)
1212

1313
file(GLOB TRANSFORMS_SOURCES *.cpp)

0 commit comments

Comments
 (0)