From: SC404 Date: Wed, 25 Jun 2025 08:45:59 +0000 (+0800) Subject: cmake: enable soversion by default for OpenHarmony OS X-Git-Tag: rc-8_15_0-2~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6c85579c84cad3ff7d3d729c248cb23dfd7e2520;p=thirdparty%2Fcurl.git cmake: enable soversion by default for OpenHarmony OS Closes #17743 --- diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 8f158c3892..19db59f9e6 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -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