aboutsummaryrefslogtreecommitdiff
path: root/modules/FindKDE4Internal.cmake
diff options
context:
space:
mode:
authorLaurent Montel <montel@kde.org>2006-08-11 09:26:08 +0000
committerLaurent Montel <montel@kde.org>2006-08-11 09:26:08 +0000
commit1c13ffda7d17a8085200c4f9733e3d61eb601ce9 (patch)
tree0229d40c75c249e19f09e1b06e70b3500c5b3ed4 /modules/FindKDE4Internal.cmake
parentcdd62acd890437fe5912f98ab82811b01efeaa42 (diff)
downloadextra-cmake-modules-1c13ffda7d17a8085200c4f9733e3d61eb601ce9.tar.gz
extra-cmake-modules-1c13ffda7d17a8085200c4f9733e3d61eb601ce9.tar.bz2
Now we didn't have a snapshot kdelibs
=> this test is not necessary svn path=/trunk/KDE/kdelibs/; revision=571953
Diffstat (limited to 'modules/FindKDE4Internal.cmake')
-rw-r--r--modules/FindKDE4Internal.cmake11
1 files changed, 0 insertions, 11 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake
index bf72d1bd..d7e34417 100644
--- a/modules/FindKDE4Internal.cmake
+++ b/modules/FindKDE4Internal.cmake
@@ -239,7 +239,6 @@ get_filename_component( kde_cmake_module_dir ${CMAKE_CURRENT_LIST_FILE} PATH)
option(KDE4_ENABLE_FINAL "Enable final all-in-one compilation")
option(KDE4_BUILD_TESTS "Build the tests")
-option(KDE4_IGNORE_DONTPORT "ignore the \"don't port\" message from kdelibs (not snapshot)" OFF)
#now try to find some kde stuff
@@ -293,16 +292,6 @@ else(EXISTS ${CMAKE_SOURCE_DIR}/kdecore/kglobal.h)
string(REGEX MATCH "KDE: [0-9]+\\.[0-9]+\\.[0-9]+" KDEVERSION "${kdeconfig_output}")
if (KDEVERSION)
- if (NOT KDE4_IGNORE_DONTPORT)
- # avoid porting against kdelibs trunk
- string(REGEX MATCH "DONTPORT" _match "${kdeconfig_output}")
- if (_match)
- message ( FATAL_ERROR "ERROR: don't port against this
- version of kdelibs! Use /branches/work/kdelibs4_snapshot instead !" )
- endif (_match)
-
- endif (NOT KDE4_IGNORE_DONTPORT)
-
string(REGEX REPLACE "^KDE: " "" KDEVERSION "${KDEVERSION}")
# we need at least this version: