From 23b12f02e7c77f2c443928a58805de4c868de9a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Tue, 7 Aug 2018 19:22:13 +0200 Subject: [PATCH] cmake: fix install target (add bin dir which includes the symlinks and px4-alias.sh) --- platforms/posix/CMakeLists.txt | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/platforms/posix/CMakeLists.txt b/platforms/posix/CMakeLists.txt index ce879f4877..dfb8d81d07 100644 --- a/platforms/posix/CMakeLists.txt +++ b/platforms/posix/CMakeLists.txt @@ -114,14 +114,6 @@ endif() # install # -# px4 app -install( - TARGETS - px4 - DESTINATION - ${PROJECT_NAME} - ) - # px4 dirs install( DIRECTORY @@ -130,6 +122,7 @@ install( ${PROJECT_SOURCE_DIR}/posix-configs ${PROJECT_SOURCE_DIR}/ROMFS ${PROJECT_SOURCE_DIR}/test + ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} DESTINATION ${PROJECT_NAME} USE_SOURCE_PERMISSIONS