comparison mlir/cmake/modules/MLIRConfig.cmake.in @ 221:79ff65ed7e25

LLVM12 Original
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 15 Jun 2021 19:15:29 +0900
parents 0572611fdcc8
children c4bab56944e8
comparison
equal deleted inserted replaced
220:42394fc6a535 221:79ff65ed7e25
15 set(MLIR_MAIN_SRC_DIR "@MLIR_MAIN_SRC_DIR@") 15 set(MLIR_MAIN_SRC_DIR "@MLIR_MAIN_SRC_DIR@")
16 16
17 set_property(GLOBAL PROPERTY MLIR_ALL_LIBS "@MLIR_ALL_LIBS@") 17 set_property(GLOBAL PROPERTY MLIR_ALL_LIBS "@MLIR_ALL_LIBS@")
18 set_property(GLOBAL PROPERTY MLIR_DIALECT_LIBS "@MLIR_DIALECT_LIBS@") 18 set_property(GLOBAL PROPERTY MLIR_DIALECT_LIBS "@MLIR_DIALECT_LIBS@")
19 set_property(GLOBAL PROPERTY MLIR_CONVERSION_LIBS "@MLIR_CONVERSION_LIBS@") 19 set_property(GLOBAL PROPERTY MLIR_CONVERSION_LIBS "@MLIR_CONVERSION_LIBS@")
20 set_property(GLOBAL PROPERTY MLIR_TRANSLATION_LIBS "@MLIR_TRANSLATION_LIBS@")
20 21
21 # Provide all our library targets to users. 22 # Provide all our library targets to users.
22 include("@MLIR_CONFIG_EXPORTS_FILE@") 23 @MLIR_CONFIG_INCLUDE_EXPORTS@
23 24
24 # By creating these targets here, subprojects that depend on MLIR's 25 # By creating these targets here, subprojects that depend on MLIR's
25 # tablegen-generated headers can always depend on these targets whether building 26 # tablegen-generated headers can always depend on these targets whether building
26 # in-tree with MLIR or not. 27 # in-tree with MLIR or not.
27 if(NOT TARGET mlir-tablegen-targets) 28 if(NOT TARGET mlir-tablegen-targets)