Commit 2c34e002 authored by Vicent Marti's avatar Vicent Marti

bcc-lua: Add Install target

parent 51d50691
...@@ -21,4 +21,6 @@ if (LUAJIT_LIBRARIES) ...@@ -21,4 +21,6 @@ if (LUAJIT_LIBRARIES)
include_directories(${LUAJIT_INCLUDE_DIR}) include_directories(${LUAJIT_INCLUDE_DIR})
add_executable(bcc-lua src/main.c src/bcc.o) add_executable(bcc-lua src/main.c src/bcc.o)
target_link_libraries(bcc-lua ${LUAJIT_LIBRARIES}) target_link_libraries(bcc-lua ${LUAJIT_LIBRARIES})
install(TARGETS bcc-lua RUNTIME DESTINATION bin)
endif() endif()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment