diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2002-06-14 14:37:59 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2002-06-14 14:37:59 (GMT) |
commit | ab9c677232902ff966294672ab252a119265638c (patch) | |
tree | 39b493eb2885185a7c3b46562e114484ccff303c /Source/cmSystemTools.h | |
parent | 72bb1865c3e48e6d2353259bdc163a50cdf61304 (diff) | |
download | CMake-ab9c677232902ff966294672ab252a119265638c.zip CMake-ab9c677232902ff966294672ab252a119265638c.tar.gz CMake-ab9c677232902ff966294672ab252a119265638c.tar.bz2 |
ENH: FindLibrary can now use the makefile to add some compiler-specific lib search path (depending on the generator).
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index 8024617..623a6ed 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -19,6 +19,8 @@ #include "cmStandardIncludes.h" +class cmMakefile; + /** \class cmSystemTools * \brief A collection of useful functions for CMake. * @@ -225,7 +227,8 @@ public: ///! Find a library in the system PATH, with optional extra paths. static std::string FindLibrary(const char* name, - const std::vector<std::string>& path); + const std::vector<std::string>& path, + const cmMakefile *makefile = 0); ///! return true if the file is a directory. static bool FileIsDirectory(const char* name); |