summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt29
1 files changed, 1 insertions, 28 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4fed658f..e8c39158 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,13 +1,7 @@
### ------- SETTING REKONQ FILES..
-if(KDE_OLD_VERSION)
- SET( rekonq_NAM kaccessmanager.cpp )
-else(KDE_OLD_VERSION)
- SET( rekonq_NAM networkmanager.cpp )
-endif(KDE_OLD_VERSION)
-
SET( rekonq_SRCS
- ${rekonq_NAM}
+ networkmanager.cpp
autosaver.cpp
application.cpp
mainwindow.cpp
@@ -51,7 +45,6 @@ KDE4_ADD_UI_FILES( rekonq_SRCS
KDE4_ADD_KCFG_FILES( rekonq_SRCS rekonq.kcfgc )
-
### ------------- INCLUDING DIRECTORIES...
INCLUDE_DIRECTORIES ( ${CMAKE_CURRENT_SOURCE_DIR}
@@ -60,30 +53,17 @@ INCLUDE_DIRECTORIES ( ${CMAKE_CURRENT_SOURCE_DIR}
${QT4_INCLUDES}
)
-if(KDE_OLD_VERSION)
-
- INCLUDE_DIRECTORIES( ${KDENETWORK_INCLUDE_DIR} )
-
-endif(KDE_OLD_VERSION)
-
### -------------- ADDING DEFINITIONS...
ADD_DEFINITIONS ( ${KDE4_DEFINITIONS} )
-if(KDE_OLD_VERSION)
-
- ADD_DEFINITIONS ( ${KDENETWORK_DEFINITIONS} )
-
-endif(KDE_OLD_VERSION)
-
### --------------- ADDING EXECUTABLE...
KDE4_ADD_EXECUTABLE( rekonq ${rekonq_SRCS} )
-
### --------------- TARGETTING LINK LIBRARIES...
TARGET_LINK_LIBRARIES ( rekonq
@@ -93,15 +73,8 @@ TARGET_LINK_LIBRARIES ( rekonq
${QT_QTUITOOLS_LIBRARY}
${KDE4_KUTILS_LIBS}
${KDE4_KDEUI_LIBS}
- ${KDE4_KIO_LIBS}
)
-if(KDE_OLD_VERSION)
-
- TARGET_LINK_LIBRARIES( ${KDENETWORK_LIBRARIES} )
-
-endif(KDE_OLD_VERSION)
-
### ------------ INSTALL FILES...