diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-23 22:25:36 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-23 22:25:36 -0500 |
commit | 8ef18e36a16625db16f2b39abfd4a19607bcf9fa (patch) | |
tree | 3789a7f48782c8a280df651a85485f91c1a1d734 /fetch/CMakeLists.txt | |
parent | 36d2505e1a4845cf2eeb4ce9bc2be5ce4d38ee80 (diff) | |
download | horizon-8ef18e36a16625db16f2b39abfd4a19607bcf9fa.tar.gz horizon-8ef18e36a16625db16f2b39abfd4a19607bcf9fa.tar.bz2 horizon-8ef18e36a16625db16f2b39abfd4a19607bcf9fa.tar.xz horizon-8ef18e36a16625db16f2b39abfd4a19607bcf9fa.zip |
fetch: Finish implementing
Diffstat (limited to 'fetch/CMakeLists.txt')
-rw-r--r-- | fetch/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fetch/CMakeLists.txt b/fetch/CMakeLists.txt index 7f83a36..e445dee 100644 --- a/fetch/CMakeLists.txt +++ b/fetch/CMakeLists.txt @@ -1,8 +1,15 @@ +pkg_check_modules(CURL libcurl) + set(FETCH_SRCS fetch.cc ) add_executable(hscript-fetch ${FETCH_SRCS}) +IF(CURL_FOUND) + add_definitions(-DHAVE_LIBCURL) + target_link_libraries(hscript-fetch ${CURL_LIBRARIES}) +ENDIF(CURL_FOUND) + install(TARGETS hscript-fetch DESTINATION bin) IF(RSPEC_EXECUTABLE) |