diff options
Diffstat (limited to 'async/CMakeLists.txt')
-rw-r--r-- | async/CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/async/CMakeLists.txt b/async/CMakeLists.txt index 19ac407..a6b53f8 100644 --- a/async/CMakeLists.txt +++ b/async/CMakeLists.txt | |||
@@ -1,2 +1,12 @@ | |||
1 | project(libasync) | ||
2 | |||
3 | option(WITH_KJOB "Enable native support for KJob in libasync API (enabled by default)" ON) | ||
4 | |||
5 | if (WITH_KJOB) | ||
6 | set(MINUMUM_FRAMEWORKS_VERSION "5.8.0") | ||
7 | find_package(KF5CoreAddons REQUIRED ${MINUMUM_FRAMEWORKS_VERSION}) | ||
8 | add_definitions(-DWITH_KJOB) | ||
9 | endif() | ||
10 | |||
1 | add_subdirectory(src) | 11 | add_subdirectory(src) |
2 | add_subdirectory(autotests) \ No newline at end of file | 12 | add_subdirectory(autotests) \ No newline at end of file |