Skip to content

Commit 04ae1be

Browse files
committed
Disable std::source_location in toml11
retrigger CI
1 parent c1e1487 commit 04ae1be

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/picongpu/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,10 @@ foreach(target picongpu picongpu-hostonly)
599599
# Workaround for this bug https://github.com/nlohmann/json/issues/3907
600600
# We don't need ranges in <nlohmann/json.hpp>
601601
target_compile_definitions(${target} PRIVATE JSON_HAS_RANGES=0)
602+
603+
# Automatic detection of std::source_location availability fails
604+
# on Clang 12 through 14
605+
target_compile_definitions(${target} PRIVATE TOML11_DISABLE_SOURCE_LOCATION)
602606
endforeach()
603607

604608
## annotate with RPATH's

0 commit comments

Comments
 (0)