You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koffice/ConfigureChecks.cmake

37 lines
1.5 KiB

###############################################################################
# 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)
### KOffice applications ######################################################
if (BUILD_CHALK)
include(chalk/ConfigureChecks.cmake)
endif()
# kate: indent-width 2; replace-tabs true;