From 6f227dc83b22d5d53dee70c83a1a038a0cfbe4a3 Mon Sep 17 00:00:00 2001 From: DRovara Date: Tue, 20 Aug 2024 14:20:59 +0200 Subject: [PATCH] build: :arrow_up: Adapt to new version of mqt-core dependency --- include/backend/dd/DDSimDebug.hpp | 4 ++-- src/CMakeLists.txt | 2 +- src/backend/dd/DDSimDebug.cpp | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/backend/dd/DDSimDebug.hpp b/include/backend/dd/DDSimDebug.hpp index 5192e0a..508982b 100644 --- a/include/backend/dd/DDSimDebug.hpp +++ b/include/backend/dd/DDSimDebug.hpp @@ -1,13 +1,13 @@ #pragma once #include "DDSimDiagnostics.hpp" -#include "QuantumComputation.hpp" #include "backend/debug.h" #include "backend/diagnostics.h" #include "common.h" #include "common/parsing/AssertionParsing.hpp" #include "dd/Package.hpp" -#include "operations/Operation.hpp" +#include "ir/QuantumComputation.hpp" +#include "ir/operations/Operation.hpp" #include #include diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index daa54c9..e460df1 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -13,7 +13,7 @@ target_include_directories(${PROJECT_NAME} PUBLIC ${PROJECT_SOURCE_DIR}/include ${PROJECT_BINARY_DIR}/include) # link to the MQT::Core libraries -target_link_libraries(${PROJECT_NAME} PUBLIC MQT::CoreDD) +target_link_libraries(${PROJECT_NAME} PUBLIC MQT::CoreDD MQT::CoreIR MQT::CoreCircuitOptimizer) target_link_libraries(${PROJECT_NAME} PRIVATE MQT::ProjectWarnings MQT::ProjectOptions) # add MQT alias diff --git a/src/backend/dd/DDSimDebug.cpp b/src/backend/dd/DDSimDebug.cpp index 798ed28..283449e 100644 --- a/src/backend/dd/DDSimDebug.cpp +++ b/src/backend/dd/DDSimDebug.cpp @@ -1,10 +1,10 @@ #include "backend/dd/DDSimDebug.hpp" -#include "CircuitOptimizer.hpp" #include "Definitions.hpp" #include "backend/dd/DDSimDiagnostics.hpp" #include "backend/debug.h" #include "backend/diagnostics.h" +#include "circuit_optimizer/CircuitOptimizer.hpp" #include "common.h" #include "common/Span.hpp" #include "common/parsing/AssertionParsing.hpp" @@ -13,8 +13,8 @@ #include "dd/DDDefinitions.hpp" #include "dd/Operations.hpp" #include "dd/Package.hpp" -#include "operations/ClassicControlledOperation.hpp" -#include "operations/OpType.hpp" +#include "ir/operations/ClassicControlledOperation.hpp" +#include "ir/operations/OpType.hpp" #include #include