diff options
author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2020-05-07 06:11:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-07 06:11:13 -0400 |
commit | 26db5dff18a40b402d20a572953870aab549c5f2 (patch) | |
tree | 539d6a9800f41efad4ed50b1864aae1e677ccded /CMakeLists.txt | |
parent | 6cc450d8ff714af09374f9bc07aea8bb05f74a5c (diff) | |
parent | de47b0d91a79651088e76d64dc4b032146203cca (diff) | |
download | spmc-26db5dff18a40b402d20a572953870aab549c5f2.tar.gz |
Merge pull request #33 from jhunkeler/install-name-tool
Install name tool (etc...)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 189100d..d2d1d89 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,7 @@ cmake_minimum_required(VERSION 3.11) project(spm C) +include(FindPkgConfig) include(CTest) include(CheckSymbolExists) @@ -10,6 +11,15 @@ set(CMAKE_INSTALL_RPATH $ORIGIN/../lib) enable_testing() check_symbol_exists(strsep string.h HAVE_STRSEP) check_symbol_exists(reallocarray stdlib.h HAVE_REALLOCARRAY) +pkg_check_modules(OpenSSL openssl>=1.1) +pkg_check_modules(CURL libcurl>=7.0) +find_program(RELOC reloc) +find_program(TAR tar) +find_program(WHICH which) +find_program(FILE file) +find_program(OBJDUMP objdump) +find_program(RSYNC rsync) + configure_file(${CMAKE_SOURCE_DIR}/config.h.in ${CMAKE_BINARY_DIR}/include/config.h) add_subdirectory(lib) |