Commit a19155fe authored by Laurent Montel's avatar Laurent Montel 😁

Make it compiles

parent 63063035
......@@ -8,7 +8,7 @@ kaddressbook (DONE)
kalarm (DONE)
kmail (DONE)
knotes (DONE)
kontact (INPROGRESS)
kontact (DONE)
korganizer (DONE)
ktnef (DONE)
mboximporter (DONE)
......
......@@ -65,6 +65,8 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${kontact_SOURCE_DIR})
find_package(KF5GrantleeTheme ${LIBGRANTLEETHEME_LIB_VERSION_LIB} CONFIG REQUIRED)
find_package(KF5KdepimDBusInterfaces ${KDEPIM_LIB_INSTALLED_VERSION} CONFIG REQUIRED)
option(QTWEBENGINE_SUPPORT_OPTION "Enable support for QtWebEngine. False by default." FALSE)
option(KDEPIM_ENTERPRISE_BUILD "Enable features specific to the enterprise branch, which are normally disabled. Also, it disables many components not needed for Kontact such as the Kolab client." FALSE)
if (QTWEBENGINE_SUPPORT_OPTION)
find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED WebEngine WebEngineWidgets)
find_package(KF5WebEngineViewer ${MESSAGELIB_LIB_VERSION_LIB} CONFIG REQUIRED)
......@@ -84,7 +86,7 @@ add_definitions( -DQT_NO_CAST_FROM_ASCII )
add_definitions( -DQT_NO_CAST_TO_ASCII )
add_definitions(-DTRANSLATION_DOMAIN=\"kontact\")
add_subdirectory(plugins)
#add_subdirectory(plugins)
add_subdirectory(src)
add_subdirectory(kconf_update)
if ("${CMAKE_BINARY_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
......
configure_file(config-enterprise.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-enterprise.h )
configure_file(config-kdepim.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kdepim.h )
configure_file(kontact-version.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/kontact-version.h @ONLY)
add_subdirectory(about)
include_directories(
......
#cmakedefine KDEPIM_ENTERPRISE_BUILD 1
/* config-kdepim.h. Generated by cmake from config-kdepim.h.cmake */
/* Define to 1 if you have the Xlib */
#cmakedefine01 KDEPIM_HAVE_X11
#cmakedefine QTWEBENGINE_SUPPORT_OPTION 1
/*
Copyright (c) 1998-1999 Preston Brown <pbrown@kde.org>
Copyright (c) 2000-2004 Cornelius Schumacher <schumacher@kde.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
/*
Set the version for this kdepim release.
This version may be used by programs within this module that
do not want to maintain a version on their own.
Note that we cannot use the kdelibs version because we may
build against older kdelibs releases.
*/
#ifndef KDEPIM_VERSION_H
#define KDEPIM_VERSION_H
#define KDEPIM_VERSION "@KDEPIM_VERSION@ (@WEBENGINE_TYPE@)"
#endif
......@@ -20,7 +20,7 @@
*/
// Use the kdepim version
#include "kdepim-version.h"
#include "kontact-version.h"
#include "mainwindow.h"
#include "kontact_debug.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