┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorDawit Alemayehu <[email protected]>2012-09-12 15:54:37 -0400
committerDawit Alemayehu <[email protected]>2012-09-15 14:41:06 -0400
commit399c4b22ea9947047c7d2777d7f361df6b5e9636 (patch)
treef8bbba41409c143f7b9a70f54307ca8218e66e44 /src/CMakeLists.txt
parent186141f4d377cf27485f4fb4bd3286a578e7cbc1 (diff)
Corrected the compile fix commit, rev 965fc6b3.
(cherry picked from commit 1e45cb9019e08ca574a997f2e41da5e3e47928b4)
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 1a121f8ad..b7eec5a65 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -131,6 +131,13 @@ set(dolphinpart_SRCS
dolphinpart.cpp
)
+# Add dolphinpart_ext.cpp conditionally, only with KDE > 4.9.1.
+if (${KDE_VERSION} VERSION_GREATER "4.9.1")
+set(dolphinpart_SRCS
+ ${dolphinpart_SRCS}
+ dolphinpart_ext.cpp)
+endif (${KDE_VERSION} VERSION_GREATER "4.9.1")
+
kde4_add_plugin(dolphinpart ${dolphinpart_SRCS})
target_link_libraries(dolphinpart dolphinprivate konq ${KDE4_KPARTS_LIBS} ${KDE4_KFILE_LIBS})