torch-mlir/tools/npcomp-opt/CMakeLists.txt

12 lines
363 B
CMake
Raw Normal View History

# npcomp-opt is always linked dynamically as we want to distribute the
# binaries with the python packages for hacking/debugging.
add_npcomp_executable(npcomp-opt npcomp-opt.cpp)
2020-04-27 08:55:15 +08:00
target_link_libraries(npcomp-opt PRIVATE
# Shared library deps first ensure we get most of what we need from libraries.
NPCOMP
MLIR
)
mlir_check_all_link_libraries(npcomp-opt)