1. 07 Mar, 2012 2 commits
  2. 05 Aug, 2011 1 commit
  3. 01 Aug, 2011 1 commit
  4. 23 Jun, 2011 1 commit
  5. 08 Jun, 2011 1 commit
  6. 14 Apr, 2011 1 commit
    • Brad King's avatar
      find_package: Fix system package registry test path conversion · 08b93977
      Brad King authored
      Do not use file(TO_NATIVE_PATH) to compute the value to store in the
      registry.  It is meant for constructing values to be put in shells.
      Since find_package() can use the value with CMake-normalized slashes do
      not bother with any conversion.
  7. 13 Apr, 2011 1 commit
  8. 07 Apr, 2011 1 commit
    • Brad King's avatar
      find_package: Forward component list for recursive calls in modules · 9fc7ea4c
      Brad King authored
      Some find modules call find_package recursively to locate a package
      configuration file for the package instead of searching for individual
      pieces.  Commit 79e9b755 (Help recursive find_package calls in modules,
      2008-10-03) taught find_package to forward the version number and EXACT
      arguments through the recursive call automatically.  Do the same for the
      component list.
  9. 04 Jan, 2011 2 commits
    • Alexander Neundorf's avatar
      Improve documentation and messages for the new CMP0017 · 7db8db5b
      Alexander Neundorf authored
      This patch incorporates the comments from Brad:
      -some improvements to the documentation of CMP0017
      -make the test QUIETLY search for zlib
    • Alexander Neundorf's avatar
      Prefer files from CMAKE_ROOT when including from CMAKE_ROOT · db44848f
      Alexander Neundorf authored
      This patch makes include() and find_package() prefer cmake files
      located in CMAKE_ROOT over those in CMAKE_MODULE_PATH.
      This makes sure that the including file gets that file included
      which it expects, i.e. the one from cmake with which it was tested.
      It only changes behaviour when such an included file exists both
      This comes together with a new policy CMP0017, with default
      behaviour it behaves as it always did, but warns.
      With NEW behaviour it includes the file from CMAKE_ROOT
      instead from CMAKE_MODULE_PATH. This fixes (if CMP0017 is set)
      building KDE 4.5 with cmake >= 2.8.3.
      Also a basic test for this policy in included.
  10. 13 Aug, 2010 1 commit
    • Todd Gamblin's avatar
      Teach find_* commands to ignore some paths · 1221581a
      Todd Gamblin authored
      Add platform configuration variable CMAKE_SYSTEM_IGNORE_PATH and user
      configuration variable CMAKE_IGNORE_PATH.  These specify a set of
      directories that will be ignored by all the find commands.  Update
      FindPackageTest so that several cases will fail without a functioning
  11. 23 Apr, 2010 1 commit
    • Brad King's avatar
      Report commit hash in CMake development versions · 03283794
      Brad King authored
      For builds from Git repositories, add "-g<commit>" to the end of the
      version number.  If the source tree is modified, append "-dirty".
      For builds from CVS checkouts, add "-cvs-<branch>".
  12. 28 Jan, 2010 1 commit
  13. 04 Nov, 2009 1 commit
  14. 09 Oct, 2009 1 commit
  15. 07 Oct, 2009 1 commit
    • Brad King's avatar
      Fix find_package() when <pkg>_DIR is wrong · 71910b3f
      Brad King authored
      When <pkg>_DIR is set to an incorrect version we search again and store
      the result in the variable, even if it is <pkg>_DIR-NOTFOUND.
      There was a bug in the case when the new search does not find anything
      and the old value came from a cache entry with UNINITALIZED type.  The
      command used to try to load a package configuration file from the last
      place searched, and would leave the old wrong value in the entry.  This
      commit fixes the behavior to avoid trying to load a missing file and to
      set the value to <pkg>_DIR-NOTFOUND as expected.
  16. 01 Sep, 2009 1 commit
    • Brad King's avatar
      Test the user package registry · 07f029d6
      Brad King authored
      We teach the FindPackageTest to build a sample project that stores its
      build tree in the user package registry using export(PACKAGE), and then
      find it with find_package.
  17. 14 Jan, 2009 1 commit
    • Brad King's avatar
      ENH: Test find_package re-find feature · bb2c0854
      Brad King authored
      Recently we taught find_package to re-find a package if its
      <package>_DIR result variable was set to a location not containing the
      package (instead of reporting an error as before).  This tests the
  18. 17 Dec, 2008 1 commit
    • Brad King's avatar
      ENH: Teach find_package about more install dirs · 3958b3e1
      Brad King authored
      We now search in
      when looking for package configuration files.  This is useful on Windows
      since the Program Files folder is in CMAKE_SYSTEM_PREFIX_PATH.  These
      paths are the Windows equivalent to the Apple convention application and
      framework paths we already search.  See issue #8264.
  19. 16 Dec, 2008 1 commit
    • Brad King's avatar
      ENH: Strengthen FindPackageTest version check · 63e186a8
      Brad King authored
      The previous change to test finding in lib/cmake/<name>* weakened the
      versioned find tests.  Since the lib/cmake paths are searched before
      lib/<name>* paths the previous change skipped requiring the command to
      ignore zot-3.0 when finding zot-3.1.  This change restores that and adds
      zot-4.0 to test the lib/cmake path.
  20. 09 Dec, 2008 1 commit
    • Brad King's avatar
      ENH: Add useful search locations to find_package · e51969ac
      Brad King authored
      This teaches find_package to search
      for package configuration files.  Packages that do not already have
      files in a <prefix>/lib/<name>* directory can use this location to avoid
      cluttering the lib directory.
  21. 03 Oct, 2008 1 commit
    • Brad King's avatar
      ENH: Help recursive find_package calls in modules · 79e9b755
      Brad King authored
      These changes teach find_package to behave nicely when invoked
      recursively inside a find-module for the same package.  The module will
      never be recursively loaded again.  Version arguments are automatically
  22. 10 Sep, 2008 2 commits
    • Brad King's avatar
      ENH: Add version comparison to if() command · 4fa96dbf
      Brad King authored
      the if() command.  This simplifies component-wise comparison of version
      numbers in the form "major[.minor[.patch[.tweak]]]".
    • Brad King's avatar
      ENH: Improve find_package version numbering · 994262e5
      Brad King authored
      Make the number of version components specified explicitly available.
      Set variables for unspecified version components to "0" instead of
      leaving them unset.  This simplifies version number handling for find-
      and config-modules.  Also support a fourth "tweak" version component
      since some packages use them.
  23. 09 Jun, 2008 1 commit
  24. 25 Mar, 2008 1 commit
  25. 28 Jan, 2008 1 commit
  26. 21 Jan, 2008 1 commit
  27. 17 Jan, 2008 1 commit
  28. 19 Dec, 2007 1 commit
  29. 26 Oct, 2007 1 commit
  30. 08 Aug, 2007 1 commit
    • Alexander Neundorf's avatar
      · 9deca588
      Alexander Neundorf authored
      ENH: remove the watch for the upper case variable name, it breaks the
      feature summary, which needs to check for both the upper case and original
      case _FOUND variables
  31. 07 Aug, 2007 1 commit
    • Alexander Neundorf's avatar
      · 5ac0a790
      Alexander Neundorf authored
      BUG: disable this test temporarily
  32. 24 Jul, 2003 1 commit