1. 13 Mar, 2012 1 commit
    • Alexander Neundorf's avatar
      find_package: allow <pkg>Config.cmake to set <pkg>_FOUND to FALSE · 16c0c737
      Alexander Neundorf authored
      Before, find_package in Config mode always set Foo_FOUND to true if the
      Config file has been found and could be executed.
      If the Config file itself detected some problem, like a missing dependency,
      it did not have a way to signal to the outside that the package is not working.
      With this patch, if a Config file sets Foo_FOUND to FALSE, this is taken into
      account and not overridden.
  2. 07 Mar, 2012 1 commit
  3. 06 Mar, 2012 1 commit
  4. 29 Feb, 2012 1 commit
  5. 28 Feb, 2012 6 commits
  6. 27 Feb, 2012 2 commits
  7. 11 Feb, 2012 1 commit
  8. 23 Sep, 2011 1 commit
    • Brad King's avatar
      Refactor find_* command final path list computation · b0cd6305
      Brad King authored
      All find_* commands re-root the list of paths and then add trailing
      slashes.  Factor this pair of calls out into a dedicated method.  The
      new method would be the only caller to AddTrailingSlashes, so subsume
      that method into it.
  9. 01 Aug, 2011 1 commit
    • Alexander Neundorf's avatar
      Provide macro write_basic_config_version_file() · d216a67e
      Alexander Neundorf authored
      This macro can be used to generate basic version files which can be
      installed along a Config.cmake file to provide versioning support.
      This (3rd try) is implemented using a macro, which maps
      the COMPATIBILITY mode to a filename and configure_file()s the
      resulting file.
  10. 17 Jul, 2011 1 commit
  11. 23 Jun, 2011 1 commit
  12. 21 Jun, 2011 1 commit
  13. 08 Jun, 2011 1 commit
  14. 13 Apr, 2011 5 commits
  15. 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.
  16. 12 Nov, 2010 1 commit
  17. 31 Aug, 2010 1 commit
  18. 29 Aug, 2010 4 commits
  19. 24 Aug, 2010 1 commit
    • Alexander Neundorf's avatar
      Log the required package version and major improvement to FeatureSummary · 33338781
      Alexander Neundorf authored
      find_package() now also stores the required version automatically, so it
      can be used by FeatureSummary.cmake.
      This was one of the requested features for setting up nightly builds
      for KDE, since with this functionality it will be possible to write
      a file at the end of each project which lists all required packages
      and their versions. This file could then be compared for equality
      with an older one and if something has changed the build maintainer
      can be emailed.
      In FeatureSummary.cmake there is now a new function feature_summary(),
      which also allows to print the log to a file or into a variable.
      It also allows to specify whether to append to a file or to write a new
      one, and what information to log.
      Docs are still missing.
  20. 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
  21. 28 Jan, 2010 1 commit
  22. 04 Nov, 2009 1 commit
  23. 09 Oct, 2009 1 commit
  24. 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.
  25. 01 Oct, 2009 1 commit
  26. 30 Sep, 2009 1 commit
  27. 28 Sep, 2009 1 commit
    • Brad King's avatar
      Convert CMake to OSI-approved BSD License · 96afb120
      Brad King authored
      This converts the CMake license to a pure 3-clause OSI-approved BSD
      License.  We drop the previous license clause requiring modified
      versions to be plainly marked.  We also update the CMake copyright to
      cover the full development time range.