Skip to content

Commit e6f03d1

Browse files
committed
[NFC] Fix a misleading comment CLANG_FORCE_MATCHING_LIBCLANG_SOVERSION
1 parent 5768325 commit e6f03d1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

clang/tools/libclang/CMakeLists.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,15 @@
33
# LLVM_VERSION_MAJOR.
44
# Please also see clang/tools/libclang/libclang.map
55

6+
# This option defaults to CLANG_FORCE_MATCHING_LIBCLANG_SOVERSION
7+
# to ON - which means that it by default matches CLANG_VERSION_MAJOR
8+
#
9+
# TODO: This should probably not be a option going forward but we
10+
# we should commit to a way to do it. But due to getting this out
11+
# in LLVM 15.x we opted for a option.
612
if(NOT CLANG_FORCE_MATCHING_LIBCLANG_SOVERSION)
7-
# default is to use the SOVERSION according to ABI...
813
set(LIBCLANG_SOVERSION 13)
914
else()
10-
# ... unless explicily overridden
1115
set(LIBCLANG_SOVERSION ${CLANG_VERSION_MAJOR})
1216
endif()
1317

0 commit comments

Comments
 (0)