aboutsummaryrefslogtreecommitdiff
path: root/modules/FindStrigi.cmake
AgeCommit message (Collapse)Author
2011-06-30Move the modules, modules-test and systeminfo subdirs into 'attic'Allen Winter
2010-10-22Clean up: we can assume strigi is > 0.6.0 nowadaysDavid Faure
svn path=/trunk/KDE/kdelibs/; revision=1188319
2009-03-19-mark more variables as advancedAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=941175
2009-03-11Suppress 'not found' messages from pkgconfig when the module subsequentlyDavid Jarvie
attempts to locate the package by other means. svn path=/trunk/KDE/kdelibs/; revision=938476
2009-01-04-add missing copyright notices, I hope I got it rightAlexander Neundorf
-also a few empty lines here and there to make it look nicer Alex svn path=/trunk/KDE/kdelibs/; revision=905547
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-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-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-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- 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-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-10-21fix as requested by Alex:Patrick Spendrin
- use TO_CMAKE_PATH - include MacroPushRequiredVars hoping cmake will not include it twice svn path=/trunk/KDE/kdelibs/; revision=874560
2008-10-14minor: missed one var in mark_as_advancedDavid Faure
svn path=/trunk/KDE/kdelibs/; revision=871241
2008-10-13It's IF(FOO), not IF(${FOO}) .... for some reason.David Faure
svn path=/trunk/KDE/kdelibs/; revision=871115
2008-10-13seems it's FATAL_ERROR, not just FATALDavid Faure
svn path=/trunk/KDE/kdelibs/; revision=871114
2008-10-13CheckCXXSourceCompiles == compiling and linking --> we need to link against ↵Christian Ehrlicher
strigi libs to get a valid result (at least on windows) svn path=/trunk/KDE/kdelibs/; revision=871052
2008-10-13Rewrite the check for the strigi api screwup once more, because pkgconfig ↵David Faure
isn't the only way to find strigi, so using it for the version check doesn't work for everyone. Now the check is a real CHECK_CXX_SOURCE_COMPILES check. CCMAIL: jos@vandenoever.info, porten@kde.org, jasonbstubbs@gmail.com svn path=/trunk/KDE/kdelibs/; revision=870913
2008-10-02Cache the bool too, since the libs+includes are cached, and when cmake ↵David Faure
auto-reconfigures without PKG_CONFING_PATH set, it won't be able to re-check the value of the bool. svn path=/trunk/KDE/kdelibs/; revision=867083
2008-10-01Use pkgconfig _first_, and use the result of that (if any), when looking for ↵David Faure
strigi paths. This makes things compile again for people with both a system strigi (pre-0.6.0) in /usr and a trunk strigi elsewhere. Many thanks to Akarsh Simha for doing all the testing. svn path=/trunk/KDE/kdelibs/; revision=866641
2008-09-19move STRIGI_NEEDS_SIGNED_CHAR for win32 to FindStrigi.cmake to make sure ↵Christian Ehrlicher
it's correct in all kde modules Maybe we should parse strigi-config.h to determine strigi version instead using pkgconfig? svn path=/trunk/KDE/kdelibs/; revision=862761
2008-09-15Fix min required version now that >= 0.5.9 should work again (like in 4.1 ↵David Faure
branch); output actual found version in stderr message. svn path=/trunk/KDE/kdelibs/; revision=861152
2008-09-13Make the stuff compile with strigi <= 0.6.0 too, since we can.David Faure
svn path=/trunk/KDE/kdelibs/; revision=860427
2008-09-13When strigi is >= 0.6.0, use signed char instead of char.David Faure
Strong suggestion for the future: KEEPING SOURCE COMPATIBILITY! svn path=/branches/KDE/4.1/kdelibs/; revision=860423
2008-09-03-modify the documentation, so let's see if this shows up tomorrow on api.kde.orgAlexander Neundorf
Alex CCMAIL: winter@kde.org svn path=/trunk/KDE/kdelibs/; revision=856856
2008-08-29Fix Strigi detection to use a version from the 0.5 branch and to not use a ↵Jos van den Oever
newer version. svn path=/branches/KDE/4.1/kdelibs/; revision=854554
2008-08-22Give an accurate hint - if Strigi can't be found, CMAKE_PREFIX_PATH, not ↵Alex Merry
CMAKE_FIND_PREFIX_PATH, should be set for CMake 2.6 svn path=/trunk/KDE/kdelibs/; revision=850927
2008-08-20Require at least Strigi 0.6.0 (SVN trunk) because a BC change was needed in ↵Jos van den Oever
libstreamanalyzer to support ARM architecture. svn path=/trunk/KDE/kdelibs/; revision=850153
2008-05-14We need at least version 0.5.9 because of some serious bug fixes.Jos van den Oever
svn path=/trunk/KDE/kdelibs/; revision=807822
2008-04-16don't put set variables into the CACHE, per Brad KingAllen Winter
svn path=/trunk/KDE/kdelibs/; revision=797757
2008-03-13split into strigila and strigita prefixDirk Mueller
svn path=/trunk/KDE/kdelibs/; revision=785375
2008-03-13configure the strigi analyzer prefix in a central place instead of ↵Dirk Mueller
spreading it all over KDE svn path=/trunk/KDE/kdelibs/; revision=785225
2008-01-11- libstreams is not enough, streamanalyzer is also needed (those two are ↵Josef Spillner
separate packages sometimes) svn path=/trunk/KDE/kdelibs/; revision=760011
2007-12-17-mark more variables as advancedAlexander Neundorf
-some cosmetics (indentation etc.) Alex svn path=/trunk/KDE/kdelibs/; revision=749753
2007-11-24It is really a bad idea to search for stuff _only_ using NO_DEFAULT_PATH.Alexander Neundorf
In the case that what you are looking for is somewhere else then cmake has no way to find it. For custom install locations cmake provides the environment variables CMAKE_LIBRARY_PATH and FIND_INCLUDE_PATH. So if you have your own set of install locations, set these two environment variables accordingly. cmake cvs additionally offers CMAKE_FIND_PREFIX_PATH, which is used by all FIND_PATH/FILE/LIBRARY/PROGRAM() calls with the appropriate subdir appended. I.e. if you install everything to ~/mystuff/, do export CMAKE_FIND_PREFIX_PATH=$HOME/mystuff, cmake will append the include/, lib/ and bin/ subdirectories automatically. Adding CMAKE_INSTALL_DIR/<suffix> is not necessary, this is done by default in FindKDE4Internal.cmake (and in cmake > 2.4.7). So now at first the FIND_XXX() calls are used with NO_DEFAULT_PATH, so no change here for UNIX, and after that the FIND_XXX() calls are used without NO_DEFAULT_PATH for the case that the first one didn't succeed (so no change for Windows). This has the nice effect that the cmake-provided means to specify custom search locations work again. Alex CCMAIL: ch.ehrlicher@gmx.de CCMAIL: kretz@kde.org svn path=/trunk/KDE/kdelibs/; revision=741164
2007-10-11cmake's string handling is suboptimal... :(Christian Ehrlicher
svn path=/trunk/KDE/kdelibs/; revision=724235
2007-10-11I'm sorry Ralf, but your fix was wrong and breaks build. The error is in ↵Christian Ehrlicher
FindStrigi.cmake which adds paths without converting them to cmake (==unix) style svn path=/trunk/KDE/kdelibs/; revision=724221
2007-10-07NO_DEFAULT_PATH is not good on win32 - remove it for windowsChristian Ehrlicher
svn path=/trunk/KDE/kdelibs/; revision=722518
2007-10-05-make it possible for the module user to override the required strigi versionAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=721587
2007-10-03we need Strigi 0.5.5 nowDirk Mueller
svn path=/trunk/KDE/kdelibs/; revision=720685
2007-10-02Find libraries in $STRIGI_HOME instead of system ones, as discussed with Vir ↵Anders Lund
on irc svn path=/trunk/KDE/kdelibs/; revision=720053
2007-09-30FIND_LIBRARY_EX -> FIND_LIBRARY_WITH_DEBUGChristian Ehrlicher
svn path=/trunk/KDE/kdelibs/; revision=719224
2007-09-30don't prefer /usr/include over /includeMatthias Kretz
svn path=/trunk/KDE/kdelibs/; revision=719138
2007-09-25Add search strigiqtdbusclientLaurent Montel
necessary for new kick-off svn path=/trunk/KDE/kdelibs/; revision=716763
2007-09-24switch to new macro FIND_LIBRARY_EX() to avoid code duplicationChristian Ehrlicher
svn path=/trunk/KDE/kdelibs/; revision=716254
2007-09-15Fix find for msvc.Adrian Page
svn path=/trunk/KDE/kdelibs/; revision=712967