define is set in the right place now
This commit is contained in:
@@ -12,6 +12,9 @@ set(BOOST_COMPONENTS program_options thread timer chrono)
|
|||||||
cmake_minimum_required(VERSION 3.9.1)
|
cmake_minimum_required(VERSION 3.9.1)
|
||||||
project(FlippR-Driver VERSION 0.1.0 LANGUAGES CXX)
|
project(FlippR-Driver VERSION 0.1.0 LANGUAGES CXX)
|
||||||
|
|
||||||
|
#set easylogging flags
|
||||||
|
add_definitions(-DELPP_NO_DEFAULT_LOG_FILE)
|
||||||
|
|
||||||
# Compile library to output_path
|
# Compile library to output_path
|
||||||
set(LIBRARY_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/${OUTPUT_PATH})
|
set(LIBRARY_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/${OUTPUT_PATH})
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,6 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
#include "easylogging++.h"
|
#include "easylogging++.h"
|
||||||
#define ELPP_NO_DEFAULT_LOG_FILE
|
|
||||||
|
|
||||||
#if defined(AUTO_INITIALIZE_EASYLOGGINGPP)
|
#if defined(AUTO_INITIALIZE_EASYLOGGINGPP)
|
||||||
INITIALIZE_EASYLOGGINGPP
|
INITIALIZE_EASYLOGGINGPP
|
||||||
|
|||||||
Reference in New Issue
Block a user