Skip to content

Commit 9d28527

Browse files
committed
Merge branch 'WIP' of github.com:Chrismarsh/CHM into WIP
2 parents 9a7d518 + 809ea6d commit 9d28527

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

src/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,6 @@ if(BUILD_WITH_CONAN)
203203
endif()
204204

205205

206-
add_compile_definitions(SPDLOG_FMT_EXTERNAL)
207206
message("-- Final compile: ${CHM_BUILD_FLAGS}")
208207

209208
add_library(CHMmath OBJECT

src/main.cpp

+7-1
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,14 @@ int main (int argc, char *argv[])
7474
kernel.end();
7575
try
7676
{
77+
78+
#if BOOST_VERSION < 107400
79+
boost::filesystem::copy_file(kernel.log_file_path,kernel.o_path / "CHM.log", boost::filesystem::copy_option::overwrite_if_exists);
80+
#else
7781
boost::filesystem::copy_file(kernel.log_file_path,kernel.o_path / "CHM.log", boost::filesystem::copy_options::overwrite_existing);
78-
}
82+
#endif
83+
}
84+
7985
catch(...)
8086
{
8187

src/timeseries/timeseries.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
#include <boost/date_time/posix_time/posix_time.hpp> // for boost::posix
3636

3737
#include <boost/variant.hpp>
38+
#include <boost/make_shared.hpp>
3839
#include <boost/lexical_cast.hpp>
3940
#include <boost/iterator/iterator_facade.hpp>
4041
#include <boost/utility.hpp>

0 commit comments

Comments
 (0)