Merge topic 'fix_search_path_ios_trycompile'
55a885da
Teach try_compile COPY_FILE to look for IOS app bundles.
This commit is contained in:
commit
17a457dcb0
|
@ -634,6 +634,10 @@ void cmCoreTryCompile::FindOutputFile(const std::string& targetName)
|
||||||
searchDirs.push_back(tmp);
|
searchDirs.push_back(tmp);
|
||||||
}
|
}
|
||||||
searchDirs.push_back("/Debug");
|
searchDirs.push_back("/Debug");
|
||||||
|
#if defined(__APPLE__)
|
||||||
|
std::string app = "/Debug/" + targetName + ".app";
|
||||||
|
searchDirs.push_back(app);
|
||||||
|
#endif
|
||||||
searchDirs.push_back("/Development");
|
searchDirs.push_back("/Development");
|
||||||
|
|
||||||
for(std::vector<std::string>::const_iterator it = searchDirs.begin();
|
for(std::vector<std::string>::const_iterator it = searchDirs.begin();
|
||||||
|
|
Loading…
Reference in New Issue