diff options
Diffstat (limited to 'kmail/CMakeLists.txt')
-rw-r--r-- | kmail/CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/kmail/CMakeLists.txt b/kmail/CMakeLists.txt index a9a198a6a..21ba5e16f 100644 --- a/kmail/CMakeLists.txt +++ b/kmail/CMakeLists.txt @@ -11,7 +11,11 @@ project( kmail ) -include( ConfigureChecks.cmake ) +if( WITH_INDEXLIB ) + tde_import( indexlib ) + add_definitions( -DHAVE_INDEXLIB ) + set( INDEX_LIBRARY index-shared ) +endif( ) tde_import( libkdenetwork ) tde_import( certmanager ) @@ -187,7 +191,7 @@ tde_add_library( ${target} SHARED AUTOMOC SOURCES ${${target}_SRCS} LINK emailfunctions-static kmime-shared kpgp-shared kdepim-shared kpimidentities-shared - mimelib-shared ksieve-shared khtml-shared + mimelib-shared ksieve-shared khtml-shared ${INDEX_LIBRARY} DESTINATION ${LIB_INSTALL_DIR} ) |