Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 5e924254 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Add a build option for f-office

By default we build f-office and report so. -DBUILD_F_OFFICE=FALSE
disables the build of f-office.

svn path=/trunk/koffice/; revision=1083885
parent 4ebef6d6
......@@ -61,6 +61,13 @@ ELSE(TINY)
set(SHOULD_BUILD_SCRIPTING TRUE)
ENDIF(TINY)
option(BUILD_F_OFFICE "build FreOffice" ON)
if (BUILD_F_OFFICE)
set(SHOULD_BUILD_F_OFFICE TRUE)
else(BUILD_F_OFFICE)
set(SHOULD_BUILD_F_OFFICE FALSE)
endif(BUILD_F_OFFICE)
if(KDE4_BUILD_TESTS)
# only with this definition will the FOO_TEST_EXPORT macro do something
add_definitions(-DCOMPILING_TESTS)
......@@ -432,6 +439,7 @@ macro_display_application_enabled(krita ${SHOULD_BUILD_KRITA})
macro_display_application_enabled(karbon ${SHOULD_BUILD_KARBON})
macro_display_application_enabled(kformula ${SHOULD_BUILD_KFORMULA})
macro_display_application_enabled(kchart ${SHOULD_BUILD_KCHART})
macro_display_application_enabled(f-office ${SHOULD_BUILD_F_OFFICE})
message(STATUS "--------------------------------------------------------------------------" )
......
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