[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-release-team
Subject:    KDE/kdelibs/cmake/modules
From:       Alexander Neundorf <neundorf () kde ! org>
Date:       2010-01-07 18:39:37
Message-ID: 1262889577.075007.27803.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1071218 by neundorf:

-make cmake 2.6.2 find SDO 0.2

This didn't work since SDO 0.2 installs its files into share/cmake/SDO/, which is \
supported  by cmake >= 2.6.3, but not by 2.6.2, which KDE requires.

It would be nice if SDO would install it into share/SDO/ or share/SDO/cmake, then it \
would be  found automatically by cmake 2.6.2 and also 2.6.3 and all newer versions.

Alex

CCMAIL: kde-buildsystem@kde.org
CCMAIL: mueller@kde.org
CCMAIL: release-team@kde.org
CCMAIL: trueg@kde.org
CCMAIL: kde-packagers@kde.org



 M  +8 -1      FindSharedDesktopOntologies.cmake  


--- trunk/KDE/kdelibs/cmake/modules/FindSharedDesktopOntologies.cmake \
#1071217:1071218 @@ -21,8 +21,15 @@
 
 
 # First try the SharedDesktopOntologiesConfig.cmake from shared-desktop-ontologies \
                0.2 and newer
-find_package(SharedDesktopOntologies ${SharedDesktopOntologies_FIND_VERSION} QUIET \
NO_MODULE)  
+# This is to make it work with cmake 2.6.2, since SDO 0.2 installs its config file \
into  +# the 2.6.3 compatible location only ( share/cmake/SDO/ instead \
share/SDO/[cmake/] ) +if( \
"${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSION_LESS \
"2.6.3") +  find_path(_SDO_CONFIG_DIR SharedDesktopOntologiesConfig.cmake \
PATH_SUFFIXES share/cmake/SharedDesktopOntologies/ ) +endif( \
"${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSION_LESS \
"2.6.3") +
+find_package(SharedDesktopOntologies ${SharedDesktopOntologies_FIND_VERSION} QUIET \
NO_MODULE HINTS "${_SDO_CONFIG_DIR}" ) +
 if (SHAREDDESKTOPONTOLOGIES_ROOT_DIR)
   mark_as_advanced(SHAREDDESKTOPONTOLOGIES_ROOT_DIR)
 endif (SHAREDDESKTOPONTOLOGIES_ROOT_DIR)
_______________________________________________
release-team mailing list
release-team@kde.org
https://mail.kde.org/mailman/listinfo/release-team


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic