mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-03 20:34:26 +02:00
Revert "build: clang no longer needs a workaround for 75057"
This reverts commit a7471ead84
.
This commit is contained in:
@@ -128,6 +128,10 @@ endif()
|
|||||||
|
|
||||||
if(CMAKE_CXX_MODULE_STD)
|
if(CMAKE_CXX_MODULE_STD)
|
||||||
target_compile_definitions(mp-units-core ${${projectPrefix}TARGET_SCOPE} ${projectPrefix}IMPORT_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()
|
endif()
|
||||||
|
|
||||||
# UTF-8 source and execution character set
|
# UTF-8 source and execution character set
|
||||||
|
Reference in New Issue
Block a user