Skip to content
Snippets Groups Projects
Commit febb8785 authored by Rafael S Castilho's avatar Rafael S Castilho
Browse files

fixed compilation error

parent 743ca538
No related branches found
No related tags found
2 merge requests!51Merge development to master,!39Issue/66
Pipeline #
...@@ -19,7 +19,6 @@ if ( UNIX ) ...@@ -19,7 +19,6 @@ if ( UNIX )
ExternalProject_Add( Boost ExternalProject_Add( Boost
PREFIX Boost PREFIX Boost
GIT_REPOSITORY ${BOOST_URL} GIT_REPOSITORY ${BOOST_URL}
GIT_SUBMODULES libs/asio libs/date_time libs/assert libs/config libs/core libs/detail libs/functional libs/io libs/iterator libs/mpl libs/predef libs/preprocessor libs/range libs/smart_ptr libs/static_assert libs/throw_exception libs/type_traits libs/system libs/filesystem tools/build tools/bcp
UPDATE_COMMAND ./bootstrap.sh --with-libraries=filesystem,system --includedir=${CMAKE_BINARY_DIR}/include/ UPDATE_COMMAND ./bootstrap.sh --with-libraries=filesystem,system --includedir=${CMAKE_BINARY_DIR}/include/
CONFIGURE_COMMAND ./b2 headers CONFIGURE_COMMAND ./b2 headers
BUILD_COMMAND ./b2 link=static install --libdir=${CMAKE_BINARY_DIR}/lib BUILD_COMMAND ./b2 link=static install --libdir=${CMAKE_BINARY_DIR}/lib
...@@ -31,4 +30,4 @@ if ( UNIX ) ...@@ -31,4 +30,4 @@ if ( UNIX )
SET_TARGET_PROPERTIES (Boost_LIB PROPERTIES IMPORTED_LOCATION ${FILESYSTEM_STATIC_LIBRARIES}) SET_TARGET_PROPERTIES (Boost_LIB PROPERTIES IMPORTED_LOCATION ${FILESYSTEM_STATIC_LIBRARIES})
SET_TARGET_PROPERTIES (Boost_LIB PROPERTIES IMPORTED_LOCATION ${SYSTEM_STATIC_LIBRARIES}) SET_TARGET_PROPERTIES (Boost_LIB PROPERTIES IMPORTED_LOCATION ${SYSTEM_STATIC_LIBRARIES})
endif () endif ()
endif() endif()
\ No newline at end of file
...@@ -74,7 +74,7 @@ void setBegin() { ...@@ -74,7 +74,7 @@ void setBegin() {
std::fstream::app | std::fstream::in | std::fstream::out); std::fstream::app | std::fstream::in | std::fstream::out);
getline(myfile, t); getline(myfile, t);
if (t.size() == 0) { if (t.size() == 0) {
begin = second_clock::local_time(); begin = boost::posix_time::second_clock::local_time();
myfile << begin; myfile << begin;
myfile << "\n"; myfile << "\n";
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment