[Mlir-commits] [mlir] 52d55d3 - [mlir][Python] Fix cmake typo keeping the extension from installing.
Stella Laurenzo
llvmlistbot at llvm.org
Fri Nov 6 16:48:25 PST 2020
Author: Stella Laurenzo
Date: 2020-11-06T16:47:26-08:00
New Revision: 52d55d31d2395f8516379de961b1fbb7d71b3f11
URL: https://github.com/llvm/llvm-project/commit/52d55d31d2395f8516379de961b1fbb7d71b3f11
DIFF: https://github.com/llvm/llvm-project/commit/52d55d31d2395f8516379de961b1fbb7d71b3f11.diff
LOG: [mlir][Python] Fix cmake typo keeping the extension from installing.
Added:
Modified:
mlir/cmake/modules/AddMLIRPythonExtension.cmake
Removed:
################################################################################
diff --git a/mlir/cmake/modules/AddMLIRPythonExtension.cmake b/mlir/cmake/modules/AddMLIRPythonExtension.cmake
index e5e81d6a87c2..5d9bb9753133 100644
--- a/mlir/cmake/modules/AddMLIRPythonExtension.cmake
+++ b/mlir/cmake/modules/AddMLIRPythonExtension.cmake
@@ -97,7 +97,7 @@ function(add_mlir_python_extension libname extname)
################################################################################
# Install
################################################################################
- if (INSTALL_DIR)
+ if (ARG_INSTALL_DIR)
install(TARGETS ${libname}
COMPONENT ${libname}
LIBRARY DESTINATION ${ARG_INSTALL_DIR}
More information about the Mlir-commits
mailing list