Skip to content

Commit

Permalink
Revert "build: clang no longer needs a workaround for 75057"
Browse files Browse the repository at this point in the history
This reverts commit a7471ea.
  • Loading branch information
mpusz committed Sep 26, 2024
1 parent a7471ea commit a27089c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@ endif()

if(CMAKE_CXX_MODULE_STD)
target_compile_definitions(mp-units-core ${${projectPrefix}TARGET_SCOPE} ${projectPrefix}IMPORT_STD)
# https://github.com/llvm/llvm-project/issues/75057
if(CMAKE_CXX_COMPILER_ID MATCHES ".*Clang" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19)
target_compile_options(mp-units-core ${${projectPrefix}TARGET_SCOPE} "-Wno-deprecated-declarations")
endif()
endif()

# UTF-8 source and execution character set
Expand Down

0 comments on commit a27089c

Please sign in to comment.