File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ cmake_minimum_required(VERSION 3.14...3.20)
55
66project (BOOST_HISTOGRAM_CPP LANGUAGES CXX)
77
8-
98add_library (boost_histogram_cpp IMPORTED INTERFACE )
109
1110# these are the boost header-only libraries required by boost::histogram
@@ -19,9 +18,8 @@ target_include_directories(
1918 ../../extern/throw_exception/include
2019 ../../extern/variant2/include )
2120
22-
23- target_compile_options (boost_histogram_cpp
24- INTERFACE $<IF:$<CXX_COMPILER_ID:MSVC >,/fp:fast,-funsafe-math-optimizations>)
21+ target_compile_options (
22+ boost_histogram_cpp INTERFACE $<IF:$<CXX_COMPILER_ID:MSVC >,/fp:fast,-funsafe-math-optimizations>)
2523
2624target_compile_features (boost_histogram_cpp INTERFACE cxx_std_14)
2725
Original file line number Diff line number Diff line change 22#include < iostream>
33
44int main () {
5- namespace bh = boost::histogram;
5+ namespace bh = boost::histogram;
66
7- auto h = bh::make_histogram (bh::axis::category<int >{});
7+ auto h = bh::make_histogram (bh::axis::category<int >{});
88
9- std::cout << bh::algorithm::sum (h) << std::endl;
9+ std::cout << bh::algorithm::sum (h) << std::endl;
1010}
11-
You can’t perform that action at this time.
0 commit comments