Commit 4c4a79fb authored by Laurent Montel's avatar Laurent Montel 😁

Just karbon needs fontconfig and freetype

=> disable it when we don't have them


svn path=/trunk/koffice/; revision=603640
parent 73e0884b
......@@ -20,6 +20,9 @@ macro_optional_find_package(OpenEXR)
macro_optional_find_package(Exif)
macro_optional_find_package(PythonLibs)
macro_optional_find_package(LibArt)
macro_optional_find_package(Freetype)
macro_optional_find_package(Fontconfig)
macro_log_feature(QCA2_FOUND "libqca2" "QCA2 is needed to compile support for encrypted OpenDocument files" "Module into kdesupport" FALSE "2.0" "" )
if (APPLE)
......@@ -96,7 +99,11 @@ add_subdirectory(libs)
MESSAGE(STATUS "Before koffice-2.0 disable compile of example subdir, not necessary for official release")
add_subdirectory(example)
add_subdirectory(interfaces)
add_subdirectory(karbon)
if(FREETYPE_FOUND AND FONTCONFIG_FOUND )
add_subdirectory(karbon)
endif(FREETYPE_FOUND AND FONTCONFIG_FOUND)
add_subdirectory(kdgantt)
add_subdirectory(kchart)
#add_subdirectory(kexi)
......
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