forked from OSchip/llvm-project
[mlir] Export python-related .cmake files
This allows downstream projects to build python extensions using the same macros as MLIR. Differential Revision: https://reviews.llvm.org/D100040
This commit is contained in:
parent
1bcf58b213
commit
3b460f8cc0
|
@ -81,6 +81,8 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
|
|||
install(FILES
|
||||
${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/MLIRConfig.cmake
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/AddMLIR.cmake
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/AddMLIRPythonExtension.cmake
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/MLIRDetectPythonEnv.cmake
|
||||
DESTINATION ${MLIR_INSTALL_PACKAGE_DIR}
|
||||
COMPONENT mlir-cmake-exports)
|
||||
|
||||
|
|
Loading…
Reference in New Issue