From ca9a6977d93df48e12d92e675c1a66fa9f6065cf Mon Sep 17 00:00:00 2001 From: Nathan Hourt Date: Tue, 22 Mar 2016 17:19:47 -0500 Subject: [PATCH] Add cryptonomex's custom secp256k1 to install on non-Windows This should be done on Windows too, but I don't know how and I don't have a Windows test box anyways. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 39f1dca..fd6d201 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,6 +98,7 @@ else ( MSVC ) set_property(TARGET secp256k1 PROPERTY IMPORTED_LOCATION ${binary_dir}/.libs/libsecp256k1${CMAKE_STATIC_LIBRARY_SUFFIX}) set_property(TARGET secp256k1 PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_CURRENT_SOURCE_DIR}/vendor/secp256k1-zkp/include) add_dependencies(secp256k1 project_secp256k1) + install( FILES ${binary_dir}/.libs/libsecp256k1${CMAKE_STATIC_LIBRARY_SUFFIX} DESTINATION lib/cryptonomex ) endif ( MSVC ) # End configure secp256k1-zkp