build: add install target for opkg-cl
authorJo-Philipp Wich <jo@mein.io>
Fri, 17 Feb 2017 17:43:19 +0000 (18:43 +0100)
committerJo-Philipp Wich <jo@mein.io>
Fri, 17 Feb 2017 17:43:19 +0000 (18:43 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
src/CMakeLists.txt

index c4198667ec186bb41719b53ceff14c6cb5ed5f8c..22b04a5389541a722fa807f8baba6a5d5f7ee154 100644 (file)
@@ -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)