Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Akonadi
Commits
95b768bb
Commit
95b768bb
authored
Mar 18, 2021
by
Christophe Marin
Browse files
CMake: Drop/replace two add_definitions calls
NO_CHANGELOG
parent
cd02b212
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
95b768bb
...
@@ -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 ####
...
...
src/server/storage/dbconfig.cpp
View file @
95b768bb
...
@@ -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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment