summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJason M. Bills <jason.m.bills@linux.intel.com>2018-11-15 01:49:59 +0300
committerEd Tanous <ed.tanous@intel.com>2018-11-16 03:56:37 +0300
commitc50fc5a2ff5e44dc9367305cb106fe20102cde6a (patch)
treef4733f7b9ba66ea68dedc3730d44241dc76ad964 /src
parenta08b46ccf0fc0081cecc4843484c4f0eb13f5a9a (diff)
downloadbmcweb-c50fc5a2ff5e44dc9367305cb106fe20102cde6a.tar.xz
Use target_compile_definitions() for build flags
This change moves the bmcweb build flags out of settings.hpp and into the CMakeLists.txt file as target_compile_definitions(). This makes it so it is no longer required to #include settings.hpp to use build flags in the source. Tested: Enabled and disabled some Redfish flags and confirmed that the desired components were added and removed. Change-Id: Ibeedb4fc8f3dcc286c73843823693a04c55c0615 Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/webserver_main.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/webserver_main.cpp b/src/webserver_main.cpp
index d141841690..fc2638a36e 100644
--- a/src/webserver_main.cpp
+++ b/src/webserver_main.cpp
@@ -1,7 +1,6 @@
#include <crow/app.h>
#include <systemd/sd-daemon.h>
-#include <bmcweb/settings.hpp>
#include <boost/asio.hpp>
#include <dbus_monitor.hpp>
#include <dbus_singleton.hpp>