Skip to content

Commit abc1508

Browse files
committed
Do not link c++ library with clang 20
1 parent adb3661 commit abc1508

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

cmake/modules/DabcConfiguration.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ if(NOT APPLE)
7171
find_library(DABC_rt_LIBRARY rt)
7272
if(CMAKE_CXX_COMPILER_ID STREQUAL Clang)
7373
find_library(DABC_m_LIBRARY m)
74-
find_library(DABC_cpp_LIBRARY "c++")
74+
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 20.0)
75+
find_library(DABC_cpp_LIBRARY "c++")
76+
endif()
7577
endif()
7678
endif()
7779

0 commit comments

Comments
 (0)