diff --git a/src/cpu_timer.cpp b/src/cpu_timer.cpp index 16f65d3..36e79bd 100644 --- a/src/cpu_timer.cpp +++ b/src/cpu_timer.cpp @@ -13,6 +13,10 @@ // the library is being built (possibly exporting rather than importing code) #define BOOST_TIMER_SOURCE +// define BOOST_CHRONO_HEADER_ONLY so that chrono dependencies are not +// propagated to library users +#define BOOST_CHRONO_HEADER_ONLY + #include #include #include