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 c419866..22b04a5 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)