diff options
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake new file mode 100644 index 000000000..fd4c8d46d --- /dev/null +++ b/ConfigureChecks.cmake @@ -0,0 +1,38 @@ +############################################################################### +# Trinity KOffice # +# --------------- # +# This file is licensed under the terms of GNU GPL v3 or later. # +# Improvements and feedback are welcome. # +############################################################################### + +### TQt/TDE ################################################################### +find_package(TQt) +find_package(TDE) +tde_setup_architecture_flags() +tde_setup_largefiles() + +### Big Endian ################################################################ +include(TestBigEndian) +test_big_endian(WORDS_BIGENDIAN) + +### System headers ############################################################ +check_include_file("unistd.h" HAVE_UNISTD_H) +check_include_file("sys/param.h" HAVE_SYS_PARAM_H) +check_include_file("floatingpoint.h" HAVE_FLOATINGPOINT_H) +check_include_file("paths.h" HAVE_PATHS_H) + +### KOffice library ########################################################## +if (BUILD_CHALK OR BUILD_KARBON OR BUILD_KIVIO OR BUILD_KPRESENTER) + set(BUILD_KOPAINTER ON) +endif() + +include(lib/ConfigureChecks.cmake) +include(filters/ConfigureChecks.cmake) +include(kword/ConfigureChecks.cmake) + +### KOffice applications ###################################################### +if (BUILD_CHALK) + include(chalk/ConfigureChecks.cmake) +endif() + +# kate: indent-width 2; replace-tabs true;
\ No newline at end of file |