diff options
| author | Peter Penz <[email protected]> | 2007-06-22 10:18:46 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-06-22 10:18:46 +0000 |
| commit | 4062c4cf2d9c3a6716ced8686fa2e2324261c0ec (patch) | |
| tree | d011dde8a6c19adb57a00f3d39a16a2e6d91fbd1 /src/CMakeLists.txt | |
| parent | aed0e931958cc466974baf1307ea02d3f755880d (diff) | |
Allow to sort by rating, which can be quite useful in combination with the "Show in Groups" feature. Although still slow, it basically works. All the code is based on Rafael Fernández López patch available at http://media.ereslibre.es/2007/06/dolphin-21062007.diff.
svn path=/trunk/KDE/kdebase/apps/; revision=678801
Diffstat (limited to 'src/CMakeLists.txt')
| -rw-r--r-- | src/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6ca332212..c305f3015 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -34,7 +34,16 @@ kde4_automoc(${dolphinprivate_LIB_SRCS}) kde4_add_library(dolphinprivate SHARED ${dolphinprivate_LIB_SRCS}) +find_package(Nepomuk) +macro_bool_to_01(Nepomuk_FOUND HAVE_NEPOMUK) + +configure_file(config-nepomuk.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-nepomuk.h ) + target_link_libraries(dolphinprivate ${KDE4_KDEUI_LIBS} ${KDE4_KFILE_LIBS} konq) +if (Nepomuk_FOUND) + target_link_libraries(dolphinprivate ${NEPOMUK_LIBRARIES}) +endif (Nepomuk_FOUND) + set_target_properties(dolphinprivate PROPERTIES VERSION 1.0.0 SOVERSION 1 ) install(TARGETS dolphinprivate DESTINATION ${LIB_INSTALL_DIR} ) |
