From a12e3db5d3e039318d39b879b59175b393ea5393 Mon Sep 17 00:00:00 2001 From: Kirill A Date: Fri, 26 Feb 2021 23:48:52 +0100 Subject: [PATCH] Enable installation of smartcontract and tonlib-cli --- crypto/CMakeLists.txt | 3 ++- tonlib/CMakeLists.txt | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt index 2b13166e..46a21024 100644 --- a/crypto/CMakeLists.txt +++ b/crypto/CMakeLists.txt @@ -440,5 +440,6 @@ if (WINGETOPT_FOUND) target_link_libraries_system(test-weight-distr wingetopt) endif() -install(TARGETS fift func RUNTIME DESTINATION bin) +install(TARGETS fift func pow-miner RUNTIME DESTINATION bin) install(DIRECTORY fift/lib/ DESTINATION lib/fift) +install(DIRECTORY smartcont DESTINATION share/ton) diff --git a/tonlib/CMakeLists.txt b/tonlib/CMakeLists.txt index 81288bf1..1a0f7267 100644 --- a/tonlib/CMakeLists.txt +++ b/tonlib/CMakeLists.txt @@ -165,3 +165,4 @@ install(FILES "TonlibConfig.cmake" "${CMAKE_CURRENT_BINARY_DIR}/TonlibConfigVers # Add SOVERSION to shared libraries set_property(TARGET tonlibjson PROPERTY SOVERSION ${TON_VERSION}) +install(TARGETS tonlib-cli RUNTIME DESTINATION bin)