mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
Hid symbols in static builds, added LTO flags, removed exports from ts
This commit is contained in:
committed by
Maksim Shabunin
parent
ef04ca9e0f
commit
6fb9d42c3f
@@ -747,12 +747,12 @@ static bool isDirectory(const std::string& path)
|
||||
#endif
|
||||
}
|
||||
|
||||
CV_EXPORTS void addDataSearchPath(const std::string& path)
|
||||
void addDataSearchPath(const std::string& path)
|
||||
{
|
||||
if (isDirectory(path))
|
||||
TS::ptr()->data_search_path.push_back(path);
|
||||
}
|
||||
CV_EXPORTS void addDataSearchSubDirectory(const std::string& subdir)
|
||||
void addDataSearchSubDirectory(const std::string& subdir)
|
||||
{
|
||||
TS::ptr()->data_search_subdir.push_back(subdir);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user