diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index ffc7b830..b0e581e0 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -33,7 +33,7 @@ jobs: - name: Install builddriver shell: bash - run: pip3 install builddriver cmake_format==0.6.11 pyyaml + run: pip3 install --break-system-package builddriver cmake_format==0.6.11 pyyaml - name: configure shell: bash diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index 3eb23838..0a72ff8c 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -76,7 +76,7 @@ example(minimal minimal) example(mut mut) example(matcher matcher) -if(NOT "${CMAKE_CXX_COMPILER_ID}" MATCHES "AppleClang") +if(NOT "${CMAKE_CXX_COMPILER_ID}" MATCHES "AppleClang" AND NOT "${CMAKE_SYSTEM_NAME}" MATCHES "Emscripten") example(parameterized parameterized) endif() diff --git a/include/boost/ut.hpp b/include/boost/ut.hpp index 490ff612..1a686c3e 100644 --- a/include/boost/ut.hpp +++ b/include/boost/ut.hpp @@ -252,7 +252,7 @@ constexpr auto regex_match(const char *str, const char *pattern) -> bool { } // namespace utility namespace reflection { -#if defined(__cpp_lib_source_location) +#if defined(__cpp_lib_source_location) && !defined(_LIBCPP_APPLE_CLANG_VER) using source_location = std::source_location; #else class source_location { diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 55414299..53a45d4b 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -14,7 +14,7 @@ if(TEST_INSTALLED_VERSION) set(CMAKE_CXX_EXTENSIONS NO) endif() - find_package(ut 1.1 REQUIRED) + find_package(ut 2.0.1 REQUIRED) include(../cmake/AddCustomCommandOrTest.cmake) enable_testing()