1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-13 11:40:33 +00:00

Require at least Boost 1.45, so boost:filesystem::temp_directory_path()

can be used. It is useful on Mac OS X, where the log folder is not at
/tmp. Boost 1.45 was released on Nov 9th, 2010, so it is unlikely that
any user is using something older.
This commit is contained in:
Carles Fernandez 2014-06-10 00:14:18 +02:00
parent c85efa7473
commit fabf623c43
2 changed files with 5 additions and 9 deletions

View File

@ -230,7 +230,6 @@ if(GNURADIO_INSTALL_PREFIX)
endif(EXISTS "${GNURADIO_INSTALL_PREFIX}/lib/libboost_thread-mt.so") endif(EXISTS "${GNURADIO_INSTALL_PREFIX}/lib/libboost_thread-mt.so")
endif(GNURADIO_INSTALL_PREFIX) endif(GNURADIO_INSTALL_PREFIX)
set(Boost_ADDITIONAL_VERSIONS set(Boost_ADDITIONAL_VERSIONS
"1.42.0" "1.42" "1.43.0" "1.43" "1.44.0" "1.44"
"1.45.0" "1.45" "1.46.0" "1.46" "1.48.0" "1.48" "1.49.0" "1.49" "1.45.0" "1.45" "1.46.0" "1.46" "1.48.0" "1.48" "1.49.0" "1.49"
"1.50.0" "1.50" "1.51.0" "1.51" "1.53.0" "1.53" "1.54.0" "1.54" "1.50.0" "1.50" "1.51.0" "1.51" "1.53.0" "1.53" "1.54.0" "1.54"
"1.55.0" "1.55" "1.56.0" "1.56" "1.57.0" "1.57" "1.58.0" "1.58" "1.59.0" "1.59" "1.55.0" "1.55" "1.56.0" "1.56" "1.57.0" "1.57" "1.58.0" "1.58" "1.59.0" "1.59"

View File

@ -134,11 +134,8 @@ int main(int argc, char** argv)
google::InitGoogleLogging(argv[0]); google::InitGoogleLogging(argv[0]);
if (FLAGS_log_dir.empty()) if (FLAGS_log_dir.empty())
{ {
// temp_directory_path() is only available from
// Boost 1.45. Ubuntu 10.10 and Debian 6.0.6 ships with 1.42
std::cout << "Logging will be done at " std::cout << "Logging will be done at "
//<< boost::filesystem::temp_directory_path() << boost::filesystem::temp_directory_path()
<< "/tmp"
<< std::endl << std::endl
<< "Use gnss-sdr --log_dir=/path/to/log to change that." << "Use gnss-sdr --log_dir=/path/to/log to change that."
<< std::endl; << std::endl;