From 64e71d4c501b8d6aebfc914a21010965448a2555 Mon Sep 17 00:00:00 2001
From: armatusmiles <akurotych@gmail.com>
Date: Tue, 5 Feb 2019 18:44:09 +0700
Subject: [PATCH] [+] linking curl to CMakeLists.txt

---
 http_server/CMakeLists.txt | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/http_server/CMakeLists.txt b/http_server/CMakeLists.txt
index af93054..5ec6ba2 100644
--- a/http_server/CMakeLists.txt
+++ b/http_server/CMakeLists.txt
@@ -1,6 +1,6 @@
 cmake_minimum_required(VERSION 2.8)
 project (dap_http_server C)
-  
+
 include_directories(http_client)
 
 set(HTTP_SERVER_SRCS
@@ -12,9 +12,8 @@ set(HTTP_SERVER_SRCS
     http_client/dap_http_header.c)
 
 add_library(${PROJECT_NAME} STATIC ${HTTP_SERVER_SRCS})
-include_directories("${INCLUDE_DIRECTORIES} ${dap_core_server_INCLUDE_DIRS}")
 
-target_include_directories(dap_http_server INTERFACE . http_client )
+target_include_directories(dap_http_server INTERFACE . http_client)
 
-target_link_libraries(dap_http_server dap_core dap_crypto dap_core_server magic)
+target_link_libraries(dap_http_server dap_core dap_crypto dap_core_server magic curl)
 
-- 
GitLab