From: Jo-Philipp Wich Date: Fri, 17 Feb 2017 17:43:19 +0000 (+0100) Subject: build: add install target for opkg-cl X-Git-Url: https://git.librecmc.org/?p=oweals%2Fopkg-lede.git;a=commitdiff_plain;h=3600e0b460725790772539438de06d06be2a8b27 build: add install target for opkg-cl Signed-off-by: Jo-Philipp Wich --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c419866..22b04a5 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -20,3 +20,5 @@ CHECK_LIBRARY_EXISTS(pthread pthread_create "" NEED_PTHREAD) IF(NEED_PTHREAD) TARGET_LINK_LIBRARIES(opkg-cl pthread) ENDIF() + +INSTALL(TARGETS opkg-cl RUNTIME DESTINATION bin)