[Mlir-commits] [mlir] 98b8b36 - [mlir][standalone] NFC: Update CMakeLists.txt to reflect best practices
Jean-Michel Gorius
llvmlistbot at llvm.org
Tue May 5 04:40:54 PDT 2020
Author: Jean-Michel Gorius
Date: 2020-05-05T13:37:37+02:00
New Revision: 98b8b36d0009f1d63be6d2ed0ef32ae92f9abd8d
URL: https://github.com/llvm/llvm-project/commit/98b8b36d0009f1d63be6d2ed0ef32ae92f9abd8d
DIFF: https://github.com/llvm/llvm-project/commit/98b8b36d0009f1d63be6d2ed0ef32ae92f9abd8d.diff
LOG: [mlir][standalone] NFC: Update CMakeLists.txt to reflect best practices
Update to follow the changes introduced in 5469f43 and documented in 93f7e52.
Added:
Modified:
mlir/examples/standalone/lib/Standalone/CMakeLists.txt
Removed:
################################################################################
diff --git a/mlir/examples/standalone/lib/Standalone/CMakeLists.txt b/mlir/examples/standalone/lib/Standalone/CMakeLists.txt
index 1f58307e0014..c8b16b7ae4ab 100644
--- a/mlir/examples/standalone/lib/Standalone/CMakeLists.txt
+++ b/mlir/examples/standalone/lib/Standalone/CMakeLists.txt
@@ -7,6 +7,7 @@ add_mlir_dialect_library(MLIRStandalone
DEPENDS
MLIRStandaloneOpsIncGen
- )
-target_link_libraries(MLIRStandalone PUBLIC MLIRIR)
+ LINK_LIBS PUBLIC
+ MLIRIR
+ )
More information about the Mlir-commits
mailing list