1/* ============================================================
2 *
3 * This file is a part of digiKam project
4 * https://www.digikam.org
5 *
6 * Date        : 2009-08-03
7 * Description : digiKam config header
8 *
9 * Copyright (C) 2009-2021 by Gilles Caulier <caulier dot gilles at gmail dot com>
10 *
11 * This program is free software; you can redistribute it
12 * and/or modify it under the terms of the GNU General
13 * Public License as published by the Free Software Foundation;
14 * either version 2, or (at your option)
15 * any later version.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20 * GNU General Public License for more details.
21 *
22 * ============================================================ */
23
24#ifndef DIGIKAM_CONFIG_H
25#define DIGIKAM_CONFIG_H
26
27/* Define to 1 if you have KDEPIM shared library installed */
28#cmakedefine HAVE_AKONADICONTACT 1
29
30/* Define to 1 if an external liblqr-1 shared library have been found */
31#cmakedefine HAVE_LIBLQR_1 1
32
33/* Define to 1 if an external lensfun shared library have been found */
34#cmakedefine HAVE_LENSFUN 1
35
36/* Define to 1 if an external KIO shared library have been found */
37#cmakedefine HAVE_KIO 1
38
39/* Define to 1 if an external Ksane shared library have been found */
40#cmakedefine HAVE_KSANE 1
41
42/* Define to 1 if an external Marble shared library have been found */
43#cmakedefine HAVE_MARBLE 1
44
45/* Define to 1 if an external Eigen3 shared library have been found */
46#cmakedefine HAVE_EIGEN3 1
47
48/* Define to 1 if an external x265 shared library have been found */
49#cmakedefine HAVE_X265 1
50
51/* The Eigen3 version string, if found, or an empty string otherwise */
52#define EIGEN3_VERSION_STRING "${EIGEN3_VERSION}"
53
54/* Define to 1 if GPhoto2 shared library is installed */
55#cmakedefine HAVE_GPHOTO2 1
56
57/* Define to 1 if Jasper shared library is installed */
58#cmakedefine HAVE_JASPER 1
59
60/* Define to 1 if libgphoto2 2.5 shared library is installed */
61#cmakedefine HAVE_GPHOTO25 1
62
63/* Define to 1 if you have Baloo shared libraries installed */
64#cmakedefine HAVE_KFILEMETADATA 1
65
66/* Define to 1 if you have KIconThemes shared libraries installed */
67#cmakedefine HAVE_KICONTHEMES 1
68
69/* Define to 1 if you have KNotifications shared libraries installed */
70#cmakedefine HAVE_KNOTIFICATIONS 1
71
72/* Define to 1 if you have KNotifyConfig shared libraries installed */
73#cmakedefine HAVE_KNOTIFYCONFIG 1
74
75/* Define to 1 if you have KCalendar core shared libraries installed */
76#cmakedefine HAVE_KCALENDAR 1
77
78/* Define to 1 if you have KCalendar core shared libraries with QDateTime support installed */
79#cmakedefine HAVE_KCALENDAR_QDATETIME 1
80
81/* Define to 1 if Panorama tool is supported */
82#cmakedefine HAVE_PANORAMA 1
83
84/* Define to 1 if VKontakte tool is supported */
85#cmakedefine HAVE_VKONTAKTE 1
86
87/* Define to 1 if HTMLGallery tool is supported */
88#cmakedefine HAVE_HTMLGALLERY 1
89
90/* Define to 1 if we support mysql database */
91#cmakedefine HAVE_MYSQLSUPPORT 1
92
93/* Define to 1 if we support mysql internal database server */
94#cmakedefine HAVE_INTERNALMYSQL 1
95
96/* Define to 1 if preview of video files is supported */
97#cmakedefine HAVE_MEDIAPLAYER 1
98
99/* Define to 1 if DBUS is supported */
100#cmakedefine HAVE_DBUS 1
101
102/* Define to 1 if system use OpenGL */
103#cmakedefine HAVE_OPENGL 1
104
105/* Define to 1 if system use X11 */
106#cmakedefine HAVE_X11 1
107
108/* Define to 1 if changing application styles is supported */
109#cmakedefine HAVE_APPSTYLE_SUPPORT 1
110
111/* Define to 1 if system use QtWebEngine instead of QWebKit */
112#cmakedefine HAVE_QWEBENGINE 1
113
114/* Define to 1 if system use QtXmlPatterns */
115#cmakedefine HAVE_QTXMLPATTERNS 1
116
117/* Define to 1 if ImageMagick codecs are supported */
118#cmakedefine HAVE_IMAGE_MAGICK 1
119
120/* Defines to 1 if the Dr. Mingw crash handler should be used */
121#cmakedefine HAVE_DRMINGW 1
122
123#define LIBEXEC_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/${LIBEXEC_INSTALL_DIR}"
124
125/*
126  Disable indeep warnings from Visual Studio C++ 2008 (9.0)
127*/
128#if defined(_MSC_VER)
129// To disable warnings about no suitable definition provided for explicit template instantiation request.
130#pragma warning(disable : 4661)
131// To disable warnings about deprecated POSIX methods().
132#pragma warning(disable : 4996)
133// To disable warnings about qualifier applied to reference type ignored.
134#pragma warning(disable : 4181)
135#endif
136
137#endif // DIGIKAM_CONFIG_H
138