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)
5
5
6
6
project (BOOST_HISTOGRAM_CPP LANGUAGES CXX)
7
7
8
-
9
8
add_library (boost_histogram_cpp IMPORTED INTERFACE )
10
9
11
10
# these are the boost header-only libraries required by boost::histogram
@@ -19,9 +18,8 @@ target_include_directories(
19
18
../../extern/throw_exception/include
20
19
../../extern/variant2/include )
21
20
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>)
25
23
26
24
target_compile_features (boost_histogram_cpp INTERFACE cxx_std_14)
27
25
Original file line number Diff line number Diff line change 2
2
#include < iostream>
3
3
4
4
int main () {
5
- namespace bh = boost::histogram;
5
+ namespace bh = boost::histogram;
6
6
7
- auto h = bh::make_histogram (bh::axis::category<int >{});
7
+ auto h = bh::make_histogram (bh::axis::category<int >{});
8
8
9
- std::cout << bh::algorithm::sum (h) << std::endl;
9
+ std::cout << bh::algorithm::sum (h) << std::endl;
10
10
}
11
-
You can’t perform that action at this time.
0 commit comments