From e2775352c38c6c277ba0698f66b5c2bae6c1fc62 Mon Sep 17 00:00:00 2001 From: Shuanglei Tao Date: Fri, 16 Sep 2016 16:27:37 +0800 Subject: [PATCH] CMake: add install target for ttyd --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1b1721f..3a3485e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,4 +42,6 @@ set(LINK_LIBS util pthread ${OPENSSL_LIBRARIES} ${LIBWEBSOCKETS_LIBRARIES} ${JSO add_executable(${PROJECT_NAME} ${SOURCE_FILES}) target_include_directories(${PROJECT_NAME} PUBLIC ${INCLUDE_DIRS}) -target_link_libraries(${PROJECT_NAME} ${LINK_LIBS}) \ No newline at end of file +target_link_libraries(${PROJECT_NAME} ${LINK_LIBS}) + +install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION bin) -- 2.43.4