aboutsummaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2008-12-08-make finding the FooConfig.cmake file quiet, but don't make the outer ↵Alexander Neundorf
FindFoo.cmake file quiet Alex svn path=/trunk/KDE/kdelibs/; revision=894602
2008-12-06instead of guessing that kdepimlibs is installed under a hardcodedDirk Mueller
path, just find it. makes build work on openSUSE again. svn path=/trunk/KDE/kdelibs/; revision=893381
2008-12-04removed obsolate package, it could be replaced completly by using ↵Ralf Habacker
CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH svn path=/trunk/KDE/kdelibs/; revision=892486
2008-12-04removed references to the obsolate KDEWIN packageRalf Habacker
svn path=/trunk/KDE/kdelibs/; revision=892482
2008-12-03-prefix the targets exported from kdepimlibs with "KDEPIMLibs::", this ↵Alexander Neundorf
should fix building kdebindings -support both version of the file, with and without prefix until next monday Using "::" in imported target names works here, I have no idea whether this might break with nmake/XCode/MSVC... Please let me know if it does. So, MSVC and XCode users, please eupdate kdelibs, kdepimlibs and kdepim or kdebase and let me know if kdepim/kdebase still builds (links). Alex CCMAIL: ps_ml@gmx.de CCMAIL: illogical1@gmail.com CCMAIL: simon@etotheipiplusone.com svn path=/trunk/KDE/kdelibs/; revision=892177
2008-12-03I have no idea why that line is commented out...Matthias Kretz
svn path=/trunk/KDE/kdelibs/; revision=892147
2008-12-02Fix finding of pimlibs to search in KDE4_INCLUDE_DIR first. This will allow ↵Ben Cooksley
those who do not install trunk to /usr to build again CCMAIL: kdepim@kde.org CCMAIL: winter@kde.org svn path=/trunk/KDE/kdelibs/; revision=891837
2008-12-02-rework all uses of find_package(PkgConfig)/pkg_check_modules():Alexander Neundorf
the prefix used for pkgconfig config (e.g. SQLITE) now *always* gets an additional "PC_" prefix, so the prefix used for pkgconfig is now "PC_SQLITE_". This avoids name clashes between variables defined by the pkgconfig macro and the find module and unwanted effects. *Never* use the _CFLAGS coming from pkgconfig, but always CFLAGS_OTHER, since these shouldn't contain the include directories. If the include directories would be in the DEFINITIONS variable this could clash with the results of find_path() for finding include dirs. *Always* use both foo_INCLUDEDIR, foo_INCLUDE_DIRS for searching the include dir, and also both foo_LIBDIR and foo_LIBRARY_DIRS for searching the libraries. These directories coming from pkgconfig are *never* used exclusively, but *always* additionally to the standard search dirs, either before them (then using the "HINTS" keyword) or after them (then using the "PATHS" keyword) I hope I didn't break (too much) stuff. At least on my system it all seems to work the same way as it did before, with and without pkgconfig. Alex svn path=/trunk/KDE/kdelibs/; revision=891805
2008-12-02-make pkgconfig working and optionalAlexander Neundorf
Alex Boudewijn: can you please let me know if this one works for you know ? CCMAIL: boud@valdyas.org svn path=/trunk/KDE/kdelibs/; revision=891754
2008-12-02make more variables as advanced, so the non-advanced view is less clutteredAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=891674
2008-12-02big patch which makes the reduced link interface work for kdepimlibs and kdepim:Alexander Neundorf
* Use target_link_libraries(... LINK_INTERFACE_LIBRARIES ...) to define the "link interface" of the libs in kdepimlibs. To enable this, set the option KDE4_ENABLE_EXPERIMENTAL_LIB_EXPORT to on using "make edit_cache". Then apps linking to libraries will only link to the library itself and to the libraries specified using LINK_INTERFACE_LIBRARIES. This gives less dependencies for packagers, after startup and I think there were more advantages. * To make this work, export_library_dependencies() may not be used anymore, but instead the library targets have to be "exported", so they can be imported again later by other projects and this way bring their link interface with them. So now all library targets from kdepimlibs are exported in the set kdepimlibsLibraryTargets. * To be able to give the developer some useful error message, KdepimLibsDependencies.cmake now errors out and tells the developer to update kdelibs, and the install location information is now in KdepimLibsInformation.cmake, which tells the developer to update kdepimlibs if it's not recent enough. So: you need now an up-to-date version of kdepimlibs and kdesupport ! If that's not acceptable let me know and I'll add some workaround. * Search the xsl file in the install location of the already installed kdelibs, not in the current install location, which may be in a completely different place. * Use the correct install location (KDEPIMLIBS_INSTALL_DIR) in KdepimLibsInformation.cmake instead of KDE4_INSTALL_DIR, which is the one for kdelibs, but not for kdepimlibs. * more minor things I don't remember right now * Do you actually have a version number for kdepimlibs ? It would be easy to add via KdepimLibsInformation.cmake Alex CCMAIL: kdepim@kde.org CCMAIL: winter@kde.org svn path=/trunk/KDE/kdelibs/; revision=891439
2008-12-01-add some comments about the imported targetsAlexander Neundorf
-remove old commented code Alex svn path=/trunk/KDE/kdelibs/; revision=891394
2008-11-29If version is OK, set XINE_FOUND to true also.Gökcen Eraslan
svn path=/trunk/KDE/kdelibs/; revision=890642
2008-11-28Fix the variable name to be checked to make this module really workGökcen Eraslan
svn path=/trunk/KDE/kdelibs/; revision=890246
2008-11-24add back FindEigen.cmake, deprecated (in favor of Eigen2), for compatibility ↵Benoît Jacob
only. CCMAIL:neundorf@kde.org svn path=/trunk/KDE/kdelibs/; revision=888585
2008-11-24Port to use new PkgConfigLaurent Montel
Why FindBlitz.cmake ? I think that we can remove it svn path=/trunk/KDE/kdelibs/; revision=888266
2008-11-23SVN_SILENT: remove debug outputChristian Ehrlicher
svn path=/trunk/KDE/kdelibs/; revision=888076
2008-11-23boost 1.37 is out nowChristian Ehrlicher
svn path=/trunk/KDE/kdelibs/; revision=888030
2008-11-20fix QCA detection once againDirk Mueller
svn path=/trunk/KDE/kdelibs/; revision=887054
2008-11-20useful information for debugging, so why not print itDirk Mueller
svn path=/trunk/KDE/kdelibs/; revision=886921
2008-11-18figure out the Phonon version and put it in PHONON_VERSIONMatthias Kretz
svn path=/trunk/KDE/kdelibs/; revision=886287
2008-11-18-use the prefix PC_ for the variables coming from pkgconfig Alexander Neundorf
(these three modules were working correctly, this is just to establish a convention how to deal with this) Alex svn path=/trunk/KDE/kdelibs/; revision=886256
2008-11-18Fixing FindQCA2.cmake based on suggestions by Alex Neundorf.Manuel Nickschas
This should now provide absolute library paths and fix the problems various packages had with building QCA2 support. svn path=/trunk/KDE/kdelibs/; revision=885998
2008-11-18reintroduce the cmake option KDE4_ENABLE_EXPERIMENTAL_LIB_EXPORT to enable ↵Alexander Neundorf
the reduced link interface in modules != kdelibs obe by one Alex svn path=/trunk/KDE/kdelibs/; revision=885852
2008-11-16remove remnants of eigen 1Benoît Jacob
svn path=/trunk/KDE/kdelibs/; revision=885225
2008-11-16-load the enhanced StrigiConfig.cmake if available. If this succeeds, there ↵Alexander Neundorf
is no need to search for the headers and libraries or test for the API anymore, since all that information is provided ready-to-use by StrigiConfig.cmake Alex CCMAIL: jvdoever@gmail.com svn path=/trunk/KDE/kdelibs/; revision=885206
2008-11-15Tell the correct version information about needed libraries.Thorsten Staerk
BUGS:175232 svn path=/trunk/KDE/kdelibs/; revision=884713
2008-11-14add eol at eofAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=884376
2008-11-14-_PREFIX is also already set by pkg_check_modules()Alexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=884375
2008-11-14-mark variables as advanced and add simple testAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=884365
2008-11-14-replace UsePkgConfig with FindPkgConfigAlexander Neundorf
-FindPkgConfig can also be used under Windows, usually it will do just nothing then -also work if pkg-config fails -use FIND_PACKAGE_HANDLE_STANDARD_ARGS() -use the new HINTS argument for the FIND_XXX() commands, these directories are then preferred over the default ones -use the new if(... VERSION_GREATER) instead of macro_ensure_version() (new since 2.6.2) Alex svn path=/trunk/KDE/kdelibs/; revision=884360
2008-11-14Revert those files back to rev 882880 to get them into a known working state ↵Alexander Neundorf
again, except FindStrigi.cmake, which seems to be working. Let's start now cleaning them up step by step. Alex CCMAIL: helio@kde.org svn path=/trunk/KDE/kdelibs/; revision=884355
2008-11-13-lowercasingAlexander Neundorf
-use find_package_handle_standard_args() Alex svn path=/trunk/KDE/kdelibs/; revision=883966
2008-11-13-make it work also without pkgconfigAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=883961
2008-11-13-fix FindStrigi when pkg-config didn't find strigi:Alexander Neundorf
in this case STRIGI_INCLUDEDIR is empty, and then used as result variable for FIND_PATH(). But FIND_PATH() only does something if the used variable contains "NOTFOUND", so it didn't search for the header actually. Now FIND_PATH() uses STRIGI_INCLUDE_DIR and sets STRIGI_INCLUDEDIR for compatibility. Hint: FOO_INCLUDE_DIR is the correct naming according to the cmake module coding rules (see kdelibs/cmake/modules/cmake-modules/styleguide.txt), not legacy. Alex CCMAIL: helio@kde.org Helio: are you sure there are not other such breakages left ? I'm always *very* cautious when touching these files, I still have a bad feeling after these big changes. svn path=/trunk/KDE/kdelibs/; revision=883470
2008-11-12clean up a few STATUS messages.Allen Winter
svn path=/trunk/KDE/kdelibs/; revision=883065
2008-11-11- Add cmake_home as a first testHelio Castro
svn path=/trunk/KDE/kdelibs/; revision=883006
2008-11-11- Fix test order for cmake_homeHelio Castro
svn path=/trunk/KDE/kdelibs/; revision=883004
2008-11-11- Made changes requested by AlexHelio Castro
svn path=/trunk/KDE/kdelibs/; revision=882988
2008-11-11Make this module backwards compatible, so kdegames, kdegraphics and koffice ↵Andreas Pakulat
continue to build svn path=/trunk/KDE/kdelibs/; revision=882982
2008-11-11- Fixed the wrong removal of standard paths and readd legacy INCLUDE_DIRS as ↵Helio Castro
a test for non pkgconfig places. Alex already agreed that we need setup a formal wiki for such kind of operations svn path=/trunk/KDE/kdelibs/; revision=882969
2008-11-11- Legacy INCLUDE_DIR to avoid break compilation in cmake that uses old formatHelio Castro
svn path=/trunk/KDE/kdelibs/; revision=882963
2008-11-11Embracing new cmake, another module moving to pkg_check_modulesHelio Castro
svn path=/trunk/KDE/kdelibs/; revision=882917
2008-11-11Unbreak test.Helio Castro
The duplicated test for every lib was done due to NO_DEFAULT_PATH addition on lib tests. At the very first moment duplication was removed, all default path strigi libs are stopped to been detected svn path=/trunk/KDE/kdelibs/; revision=882910
2008-11-11Embraceing new cmake, another module moving to pkg_check_modulesHelio Castro
svn path=/trunk/KDE/kdelibs/; revision=882904
2008-11-11Less verboseHelio Castro
svn path=/trunk/KDE/kdelibs/; revision=882897
2008-11-11- Show real librariesHelio Castro
svn path=/trunk/KDE/kdelibs/; revision=882896
2008-11-11- Fix includedirs and add requires for pkgconfigHelio Castro
svn path=/trunk/KDE/kdelibs/; revision=882894
2008-11-11- Move old test check for new cmake pkg_check_moduleHelio Castro
svn path=/trunk/KDE/kdelibs/; revision=882888
2008-11-11- Move old test check for new cmake pkg_check_moduleHelio Castro
svn path=/trunk/KDE/kdelibs/; revision=882887