From 11c43e041240536d6942cdc3bf5e3737fb54b77c Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Wed, 10 Aug 2022 09:47:33 +0200 Subject: [PATCH] build(example): Kalman examples 5 and 6 disabled for AppleClang Resolves #382 --- example/kalman_filter/CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/example/kalman_filter/CMakeLists.txt b/example/kalman_filter/CMakeLists.txt index 9c5fbe6a..ff0695a9 100644 --- a/example/kalman_filter/CMakeLists.txt +++ b/example/kalman_filter/CMakeLists.txt @@ -35,7 +35,11 @@ add_example(kalman_filter-example_1 mp-units::core-fmt mp-units::si) add_example(kalman_filter-example_2 mp-units::core-fmt mp-units::si) add_example(kalman_filter-example_3 mp-units::core-fmt mp-units::si) add_example(kalman_filter-example_4 mp-units::core-fmt mp-units::si) -add_example(kalman_filter-example_5 mp-units::core-fmt mp-units::si) -add_example(kalman_filter-example_6 mp-units::core-fmt mp-units::si) + +if(NOT CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang") + add_example(kalman_filter-example_5 mp-units::core-fmt mp-units::si) + add_example(kalman_filter-example_6 mp-units::core-fmt mp-units::si) +endif() + add_example(kalman_filter-example_7 mp-units::core-fmt mp-units::si) add_example(kalman_filter-example_8 mp-units::core-fmt mp-units::si)