20 lines
371 B
CMake
20 lines
371 B
CMake
add_library(LUMELIB STATIC
|
|
LumeLib.cpp
|
|
)
|
|
|
|
target_link_libraries(LUMELIB PRIVATE
|
|
LLVMCore
|
|
LLVMSupport
|
|
MLIRSupport
|
|
MLIRSPIRVTranslateRegistration
|
|
MLIRSPIRVBinaryUtils
|
|
MLIRPass
|
|
MLIRSPIRVToLLVM
|
|
)
|
|
|
|
target_include_directories(LUMELIB PRIVATE
|
|
${LLVM_INCLUDE_DIRS}
|
|
${MLIR_INCLUDE_DIRS}
|
|
${CMAKE_SOURCE_DIR}/include
|
|
)
|