[mlir][standalone] NFC: Update CMakeLists.txt to reflect best practices
authorJean-Michel Gorius <jean-michel.gorius@orange.fr>
Tue, 5 May 2020 11:37:37 +0000 (13:37 +0200)
committerJean-Michel Gorius <jean-michel.gorius@orange.fr>
Tue, 5 May 2020 11:37:37 +0000 (13:37 +0200)
Update to follow the changes introduced in 5469f43 and documented in 93f7e52.

mlir/examples/standalone/lib/Standalone/CMakeLists.txt

index 1f58307..c8b16b7 100644 (file)
@@ -7,6 +7,7 @@ add_mlir_dialect_library(MLIRStandalone
 
         DEPENDS
         MLIRStandaloneOpsIncGen
-        )
 
-target_link_libraries(MLIRStandalone PUBLIC MLIRIR)
+       LINK_LIBS PUBLIC
+       MLIRIR
+       )