[cmake] install the binary

This commit is contained in:
Timothy Stack 2019-07-22 10:36:47 -07:00
parent 91dd8a84ec
commit 65d2f7552c
2 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,7 @@ project(lnav
VERSION 0.8.6)
include(CTest)
include(GNUInstallDirs)
hunter_add_package(libpcre)
find_package(libpcre CONFIG REQUIRED)

View File

@ -403,3 +403,5 @@ endif()
add_executable(lnav ${lnav_SRCS})
target_link_libraries(lnav diag)
install(TARGETS lnav DESTINATION bin)