LanguageTool: don't crash if REST protocol isn't set
[LibreOffice.git] / libreofficekit / CppunitTest_libreofficekit_checkapi.mk
blob1d56df8b73ffea6dc296bf47427b674e49dd2f58
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_CppunitTest_CppunitTest,libreofficekit_checkapi))
12 $(eval $(call gb_CppunitTest_add_cxxflags,libreofficekit_checkapi, \
13 $(gb_CXX03FLAGS) \
16 $(eval $(call gb_CppunitTest_add_exception_objects,libreofficekit_checkapi, \
17 libreofficekit/qa/unit/checkapi \
19 $(eval $(call gb_CppunitTest_add_cobjects,libreofficekit_checkapi,\
20 libreofficekit/qa/unit/compile_test \
23 $(eval $(call gb_CppunitTest_set_external_code,libreofficekit_checkapi))
25 ifeq ($(OS),LINUX)
26 $(eval $(call gb_CppunitTest_add_libs,libreofficekit_checkapi, \
27 -ldl \
29 endif
31 # vim: set noet sw=4 ts=4: