Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
1 | # cmake-options : -DCMAKE_DISABLE_FIND_PACKAGE_LibKonq=TRUE or FALSE; default is FALSE | 1 | # cmake-options : -DCMAKE_DISABLE_FIND_PACKAGE_LibKonq=TRUE or FALSE; default is FALSE | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | add_definitions(-DTRANSLATION_DOMAIN=\"konsole\") | 3 | add_definitions(-DTRANSLATION_DOMAIN=\"konsole\") | ||
4 | 4 | | |||
5 | ### Handle DragonFlyBSD here instead of using __DragonFly__ | 5 | ### Handle DragonFlyBSD here instead of using __DragonFly__ | ||
6 | IF(${CMAKE_SYSTEM_NAME} MATCHES "DragonFly") | 6 | IF(${CMAKE_SYSTEM_NAME} MATCHES "DragonFly") | ||
7 | set(HAVE_OS_DRAGONFLYBSD 1) | 7 | set(HAVE_OS_DRAGONFLYBSD 1) | ||
8 | else() | 8 | else() | ||
9 | set(HAVE_OS_DRAGONFLYBSD 0) | 9 | set(HAVE_OS_DRAGONFLYBSD 0) | ||
10 | endif() | 10 | endif() | ||
11 | 11 | | |||
12 | IF(NOT (${KF5_VERSION} VERSION_LESS "5.60.0")) | ||||
13 | set(USE_TERMINALINTERFACEV2 1) | ||||
14 | endif() | ||||
15 | | ||||
12 | include(CheckIncludeFiles) | 16 | include(CheckIncludeFiles) | ||
13 | include(ECMAddAppIcon) | 17 | include(ECMAddAppIcon) | ||
14 | 18 | | |||
15 | configure_file(config-konsole.h.cmake | 19 | configure_file(config-konsole.h.cmake | ||
16 | ${CMAKE_CURRENT_BINARY_DIR}/config-konsole.h) | 20 | ${CMAKE_CURRENT_BINARY_DIR}/config-konsole.h) | ||
17 | 21 | | |||
18 | ### Tests | 22 | ### Tests | ||
19 | if(BUILD_TESTING) | 23 | if(BUILD_TESTING) | ||
▲ Show 20 Lines • Show All 198 Lines • Show Last 20 Lines |