Sort out include path mess in CMakeLists

This commit is contained in:
sfan5
2020-03-27 11:12:24 +01:00
parent 9096f70188
commit a160dc051c
3 changed files with 22 additions and 42 deletions

View File

@ -3,9 +3,9 @@
#ifndef CMAKE_CONFIG_H
#define CMAKE_CONFIG_H
#define USE_POSTGRESQL @USE_POSTGRESQL@
#define USE_LEVELDB @USE_LEVELDB@
#define USE_REDIS @USE_REDIS@
#cmakedefine01 USE_POSTGRESQL
#cmakedefine01 USE_LEVELDB
#cmakedefine01 USE_REDIS
#define SHAREDIR "@SHAREDIR@"

View File

@ -2,7 +2,7 @@
#define DB_REDIS_HEADER
#include "db.h"
#include <hiredis.h>
#include <hiredis/hiredis.h>
class DBRedis : public DB {
public: