diff --git a/enc_server/CMakeLists.txt b/enc_server/CMakeLists.txt
index e76a20f37cd224774a3abcc39ebb1dc0eca07270..0a51475a3a952c8d6676236d81730255fc62c2fb 100644
--- a/enc_server/CMakeLists.txt
+++ b/enc_server/CMakeLists.txt
@@ -1,5 +1,5 @@
 cmake_minimum_required(VERSION 3.0)
-project(dap_enc_server)
+project(dap_enc_server C)
   
 set(DAP_ENC_SERVER_SRCS  dap_enc_http.c  dap_enc_ks.c)
 
diff --git a/http_server/http_client/CMakeLists.txt b/http_server/http_client/CMakeLists.txt
index 7457a54a3b0d9619b99c652c1714930309dd9042..a3a75e0934cd3e3776fe9ed7f3c4dd6c7309c3e1 100644
--- a/http_server/http_client/CMakeLists.txt
+++ b/http_server/http_client/CMakeLists.txt
@@ -4,15 +4,4 @@ project (dap_http)
 set(HTTP_SRCS dap_http_client.c dap_http_client_simple.c dap_http_header.c)
  
 add_library(${PROJECT_NAME} STATIC ${HTTP_SRCS})
-target_link_libraries(${PROJECT_NAME}  curl)
 
-include_directories("${dap_core_INCLUDE_DIRS}")
-#include_directories("${dap_client_INCLUDE_DIRS}")
-include_directories("${dap_http_server_INCLUDE_DIRS}")
-add_definitions ("${dap_core_DEFINITIONS}")
-add_definitions ("${dap_client_DEFINITIONS}")
-add_definitions ("${dap_http_server_DEFINITIONS}")
-
-set(${PROJECT_NAME}_DEFINITIONS CACHE INTERNAL "${PROJECT_NAME}: Definitions" FORCE)
-
-set(${PROJECT_NAME}_INCLUDE_DIRS ${PROJECT_SOURCE_DIR} CACHE INTERNAL "${PROJECT_NAME}: Include Directories" FORCE)