summaryrefslogtreecommitdiffstats
path: root/Source/cmFindProgramCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-09-01 17:39:55 (GMT)
committerBrad King <brad.king@kitware.com>2015-09-02 14:17:21 (GMT)
commitbf32b95efed986eed7f5e0c568c5bc9559bcb854 (patch)
treed070605675bac8a287cc3693d8326be019a1d5b0 /Source/cmFindProgramCommand.cxx
parent72c11e590273d100c49f472afc3a7569b233ff00 (diff)
downloadCMake-bf32b95efed986eed7f5e0c568c5bc9559bcb854.zip
CMake-bf32b95efed986eed7f5e0c568c5bc9559bcb854.tar.gz
CMake-bf32b95efed986eed7f5e0c568c5bc9559bcb854.tar.bz2
cmFindLibraryCommand: Avoid repeating search for the same name
In FindNormalLibraryDirsPerName we consider one name at a time and search the entire path. Avoid repeated consideration of names by removing each one from the list of candidates before considering the next one. This will not change behavior because we already know the earlier candidates were not found on repeated considering anyway.
Diffstat (limited to 'Source/cmFindProgramCommand.cxx')
0 files changed, 0 insertions, 0 deletions