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 /src | |
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 'src')
-rw-r--r-- | src/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2bd023c..b8c042f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,13 +1,16 @@ include_directories( ${CMAKE_SOURCE_DIR}/include ${CMAKE_BINARY_DIR}/include + ${OpenSSL_INCLUDE_DIRS} + ${CURL_INCLUDE_DIRS} ) add_executable(spm spm.c ) -target_link_libraries(spm libspm crypto ssl curl) +target_link_directories(spm PUBLIC ${OpenSSL_LIBRARY_DIRS} ${CURL_LIBRARY_DIRS}) +target_link_libraries(spm libspm ${OpenSSL_LIBRARIES} ${CURL_LIBRARIES}) if (LINUX) target_link_libraries(spm libspm rt) endif() |