From 1c13ffda7d17a8085200c4f9733e3d61eb601ce9 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Fri, 11 Aug 2006 09:26:08 +0000 Subject: Now we didn't have a snapshot kdelibs => this test is not necessary svn path=/trunk/KDE/kdelibs/; revision=571953 --- modules/FindKDE4Internal.cmake | 11 ----------- 1 file changed, 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: -- cgit v1.2.1