From: Shuanglei Tao Date: Fri, 16 Sep 2016 08:27:37 +0000 (+0800) Subject: CMake: add install target for ttyd X-Git-Url: http://git.prime8.dev/?a=commitdiff_plain;h=e2775352c38c6c277ba0698f66b5c2bae6c1fc62;p=ttyd.git CMake: add install target for ttyd --- 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)