Skip to content

Linux + iPhone Continuity / iMessage / SMS

install right

Zack Bartelb0938b8cbac9
diff --git a/src/cli/CMakeLists.txt b/src/cli/CMakeLists.txt
index 88fd98e..af9e569 100644
--- a/src/cli/CMakeLists.txt
+++ b/src/cli/CMakeLists.txt
@@ -9,3 +9,7 @@ set_target_properties(tether_cli PROPERTIES
OUTPUT_NAME tether
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
)
+
+install(TARGETS tether_cli
+ RUNTIME DESTINATION bin)
+
diff --git a/src/daemon/CMakeLists.txt b/src/daemon/CMakeLists.txt
index cd5f2e0..54b33fe 100644
--- a/src/daemon/CMakeLists.txt
+++ b/src/daemon/CMakeLists.txt
@@ -6,3 +6,6 @@ target_link_libraries(tetherd PRIVATE tether)
# Output into root build dir instead of nested build/src/daemon
set_target_properties(tetherd PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}")
+
+install(TARGETS tetherd
+ RUNTIME DESTINATION bin)