diff options
| author | Ryo Nakamura <upa@haeena.net> | 2022-10-30 17:58:56 +0900 |
|---|---|---|
| committer | Ryo Nakamura <upa@haeena.net> | 2022-10-30 17:58:56 +0900 |
| commit | 2bcbdd2292a24c90331c3c481984363d4d51c2b5 (patch) | |
| tree | 5fa43e44b61dda409d069061b5cd1274025253e1 /CMakeLists.txt | |
| parent | abd6bf2bbfb3b6dd0a0d3a7d3109eaa95a647f17 (diff) | |
add install to cmake
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3ef53c2..2688928 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,3 +8,8 @@ add_executable(mscp src/main.c src/platform.c src/ssh.c src/file.c src/pprint.c) target_include_directories(mscp PUBLIC ./src /usr/local/include) target_link_directories(mscp PUBLIC /usr/local/lib) target_link_libraries(mscp ssh pthread m) + + +install(TARGETS mscp + RUNTIME DESTINATION bin +) |
