Files
revng-revng/tools/clift-opt/CMakeLists.txt
Giacomo Vercesi 683bcf66d8 Drop revng- prefix from libexec executables
The revng CLI driver no longer uses the `revng-` prefix for executables
under `libexec/revng`.
2024-10-01 20:34:38 +02:00

14 lines
444 B
CMake

#
# This file is distributed under the MIT License. See LICENSE.md for details.
#
revng_add_executable(clift-opt Main.cpp)
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
get_property(conversion_libs GLOBAL PROPERTY MLIR_CONVERSION_LIBS)
set(MLIR_LIBRARIES ${dialect_libs} ${conversion_libs} MLIROptLib)
target_link_libraries(clift-opt MLIRCliftDialect MLIRCliftUtils
${MLIR_LIBRARIES} ${LLVM_LIBRARIES})