Skip to content

Commit fea6767

Browse files
committed
Always install mlir.pyi
1 parent 4258553 commit fea6767

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

bindings/mlir/CMakeLists.txt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,9 @@ if(NOT TARGET ${TARGET_NAME})
3333

3434
# install the Python stub file in editable mode for better IDE support
3535
if(SKBUILD_STATE STREQUAL "editable")
36-
if(EXISTS "${PROJECT_SOURCE_DIR}/python/mqt/core/mlir.pyi")
37-
install(
38-
FILES ${PROJECT_SOURCE_DIR}/python/mqt/core/mlir.pyi
39-
DESTINATION .
40-
COMPONENT ${MQT_CORE_TARGET_NAME}_Python)
41-
endif()
36+
install(
37+
FILES ${PROJECT_SOURCE_DIR}/python/mqt/core/mlir.pyi
38+
DESTINATION .
39+
COMPONENT ${MQT_CORE_TARGET_NAME}_Python)
4240
endif()
4341
endif()

0 commit comments

Comments
 (0)