Skip to content

Commit 51d88a9

Browse files
committed
Disable QIR runner if bindings are enabled
1 parent fea6767 commit 51d88a9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,11 @@ if(MQT_CORE_INSTALL)
119119
endif()
120120

121121
cmake_dependent_option(BUILD_MQT_CORE_QIR_RUNNER "Build the QIR runner of the MQT Core project" ON
122-
"BUILD_MQT_CORE_MLIR" OFF)
122+
"BUILD_MQT_CORE_MLIR;NOT BUILD_MQT_CORE_BINDINGS" OFF)
123123

124124
cmake_dependent_option(
125125
BUILD_MQT_CORE_QDMI_DDSIM_WITH_QIR "Enable QIR program format support for the DDSIM QDMI Device"
126-
ON "BUILD_MQT_CORE_MLIR" OFF)
126+
ON "BUILD_MQT_CORE_MLIR;NOT BUILD_MQT_CORE_BINDINGS" OFF)
127127

128128
# add main library code
129129
add_subdirectory(src)

0 commit comments

Comments
 (0)