Skip to content

Commit e51a9e3

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 7d7d227 commit e51a9e3

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

examples/cpp/CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ cmake_minimum_required(VERSION 3.14...3.20)
55

66
project(BOOST_HISTOGRAM_CPP LANGUAGES CXX)
77

8-
98
add_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

2624
target_compile_features(boost_histogram_cpp INTERFACE cxx_std_14)
2725

examples/cpp/simple.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ int main() {
88

99
std::cout << bh::algorithm::sum(h) << std::endl;
1010
}
11-

0 commit comments

Comments
 (0)