]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cmake: enable soversion by default for OpenHarmony OS
authorSC404 <huruitao@kaihong.com>
Wed, 25 Jun 2025 08:45:59 +0000 (16:45 +0800)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 25 Jun 2025 13:49:17 +0000 (15:49 +0200)
Closes #17743

lib/CMakeLists.txt

index 8f158c389269d676c724c33bba194b0c66f17e37..19db59f9e60eae8515e658328f2fa6452748e960 100644 (file)
@@ -203,6 +203,7 @@ if(BUILD_SHARED_LIBS)
     CMAKE_SYSTEM_NAME STREQUAL "Linux" OR
     CMAKE_SYSTEM_NAME STREQUAL "SunOS" OR
     CMAKE_SYSTEM_NAME STREQUAL "Haiku" OR
+    CMAKE_SYSTEM_NAME STREQUAL "OHOS" OR  # OpenHarmony
     CMAKE_SYSTEM_NAME STREQUAL "GNU/kFreeBSD" OR
     # FreeBSD comes with the a.out and ELF flavours but a.out was supported
     # up to v3.x and ELF from v3.x. I cannot imagine someone running CMake