From d1d1de221f575e18e3d475b528fc4401017bf1a0 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Mon, 29 Jul 2019 12:10:45 +0200 Subject: [PATCH] fix: rename fix: new jsoncpp version --- CMakeLists.txt | 4 ++-- controllers/api_v1_controllers_discover.cc | 13 +++++++++++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 795800d..ecb6398 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required (VERSION 3.2) -Project(emgauwa-core) +Project(core) link_directories(/usr/local/lib) link_libraries(drogon trantor pthread dl) @@ -104,4 +104,4 @@ foreach(cspFile ${SCP_LIST}) endforeach() include_directories(${CMAKE_CURRENT_SOURCE_DIR}) -add_executable(emgauwa-core ${SRC_DIR} ${CTL_SRC} ${FILTER_SRC} ${VIEWSRC} ${PLUGIN_SRC} ${MODEL_SRC} ${HELPER_SRC}) +add_executable(core ${SRC_DIR} ${CTL_SRC} ${FILTER_SRC} ${VIEWSRC} ${PLUGIN_SRC} ${MODEL_SRC} ${HELPER_SRC}) diff --git a/controllers/api_v1_controllers_discover.cc b/controllers/api_v1_controllers_discover.cc index 6f19c91..18306fa 100644 --- a/controllers/api_v1_controllers_discover.cc +++ b/controllers/api_v1_controllers_discover.cc @@ -4,6 +4,7 @@ #include #include #include +#include #include "api_v1_controllers.h" using namespace api::v1; @@ -93,11 +94,19 @@ void controllers::post_discover(const HttpRequestPtr &req, std::function