Merge topic 'fix_search_path_ios_trycompile'

55a885da Teach try_compile COPY_FILE to look for IOS app bundles.
This commit is contained in:
Brad King 2014-09-24 09:21:50 -04:00 committed by CMake Topic Stage
commit 17a457dcb0
1 changed files with 4 additions and 0 deletions

View File

@ -634,6 +634,10 @@ void cmCoreTryCompile::FindOutputFile(const std::string& targetName)
searchDirs.push_back(tmp);
}
searchDirs.push_back("/Debug");
#if defined(__APPLE__)
std::string app = "/Debug/" + targetName + ".app";
searchDirs.push_back(app);
#endif
searchDirs.push_back("/Development");
for(std::vector<std::string>::const_iterator it = searchDirs.begin();