Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Line(s) | 45 | ecm_setup_version(PROJECT VARIABLE_PREFIX KPEOPLE | |||
---|---|---|---|---|---|
47 | PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5PeopleConfigVersion.cmake" | 47 | PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5PeopleConfigVersion.cmake" | ||
48 | SOVERSION 5) | 48 | SOVERSION 5) | ||
49 | 49 | | |||
50 | option(ENABLE_EXAMPLES "Build the examples" "ON") | 50 | option(ENABLE_EXAMPLES "Build the examples" "ON") | ||
51 | 51 | | |||
52 | if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po") | 52 | if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po") | ||
53 | ki18n_install(po) | 53 | ki18n_install(po) | ||
54 | endif () | 54 | endif () | ||
55 | add_definitions(-DQT_NO_FOREACH) | ||||
55 | add_subdirectory (src) | 56 | add_subdirectory (src) | ||
56 | add_subdirectory (pixmaps) | 57 | add_subdirectory (pixmaps) | ||
57 | if (ENABLE_EXAMPLES) | 58 | if (ENABLE_EXAMPLES) | ||
58 | add_subdirectory(examples) | 59 | add_subdirectory(examples) | ||
59 | endif() | 60 | endif() | ||
60 | if (BUILD_TESTING) | 61 | if (BUILD_TESTING) | ||
61 | add_subdirectory(autotests) | 62 | add_subdirectory(autotests) | ||
62 | endif() | 63 | endif() | ||
Show All 25 Lines |