Commit 95b768bb authored by Christophe Giboudeaux's avatar Christophe Giboudeaux
Browse files

CMake: Drop/replace two add_definitions calls

NO_CHANGELOG
parent cd02b212
...@@ -230,9 +230,6 @@ if(NOT XMLLINT_EXECUTABLE) ...@@ -230,9 +230,6 @@ if(NOT XMLLINT_EXECUTABLE)
endif() endif()
check_include_files(unistd.h HAVE_UNISTD_H) check_include_files(unistd.h HAVE_UNISTD_H)
if(HAVE_UNISTD_H)
add_definitions(-DHAVE_UNISTD_H)
endif()
if (IS_ABSOLUTE "${DBUS_INTERFACES_INSTALL_DIR}") if (IS_ABSOLUTE "${DBUS_INTERFACES_INSTALL_DIR}")
set(AKONADI_DBUS_INTERFACES_INSTALL_DIR "${DBUS_INTERFACES_INSTALL_DIR}") set(AKONADI_DBUS_INTERFACES_INSTALL_DIR "${DBUS_INTERFACES_INSTALL_DIR}")
...@@ -279,7 +276,6 @@ macro(SET_DEFAULT_DB_BACKEND) ...@@ -279,7 +276,6 @@ macro(SET_DEFAULT_DB_BACKEND)
endif() endif()
message(STATUS "Using default db backend ${AKONADI_DATABASE_BACKEND}") message(STATUS "Using default db backend ${AKONADI_DATABASE_BACKEND}")
add_definitions(-DAKONADI_DATABASE_BACKEND="${AKONADI_DATABASE_BACKEND}")
endmacro() endmacro()
#### DB BACKEND DEFAULT #### #### DB BACKEND DEFAULT ####
......
...@@ -11,6 +11,8 @@ ...@@ -11,6 +11,8 @@
#include "dbconfigpostgresql.h" #include "dbconfigpostgresql.h"
#include "dbconfigsqlite.h" #include "dbconfigsqlite.h"
#include <config-akonadi.h>
#include <private/instance_p.h> #include <private/instance_p.h>
#include <private/standarddirs_p.h> #include <private/standarddirs_p.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment