diff options
| author | Brad King <brad.king@kitware.com> | 2015-04-27 15:45:49 (GMT) |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2015-04-27 15:49:29 (GMT) |
| commit | c46490dad525e5f5e10eba12808718340ad40ace (patch) | |
| tree | 767fb017f4d1d22af31994f0eef4eb57a6229d71 /Utilities/cmjsoncpp/src/lib_json | |
| parent | ebb54e02c4bfd9ef8ffb92a49afb873a0af58f2a (diff) | |
| download | CMake-c46490dad525e5f5e10eba12808718340ad40ace.zip CMake-c46490dad525e5f5e10eba12808718340ad40ace.tar.gz CMake-c46490dad525e5f5e10eba12808718340ad40ace.tar.bz2 | |
cmSystemTools: Fix IsPathToFramework implementation (#15535)
Use more reliable logic to detect if a path ends in ".framework". The
old logic added by commit v2.4.0~791 (add better support for framework
linking, 2005-12-26) did not account for paths not ending in it at all.
With a 9-character path the logic and "npos == -1" happens to make the
old check pass.
Diffstat (limited to 'Utilities/cmjsoncpp/src/lib_json')
0 files changed, 0 insertions, 0 deletions
