Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
cmake: increment so_version and set package version to so_version
Browse files Browse the repository at this point in the history
  • Loading branch information
robaerd committed Jan 27, 2021
1 parent 5e52033 commit ce1ebfa
Show file tree
Hide file tree
Showing 111 changed files with 439 additions and 439 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ set (REVERSE_DOMAIN org.libelektra)

message (STATUS "You are building Elektra ${KDB_VERSION}")

set (SO_VERSION 4)
set (SO_VERSION 5)
set (SO_VERSION_TOOLS 2)
set (SO_VERSION_GETENV 0)

Expand Down Expand Up @@ -127,7 +127,7 @@ endif ()
install (
FILES LICENSE.md
DESTINATION ${TARGET_DOCUMENTATION_TEXT_FOLDER}
COMPONENT libelektra4)
COMPONENT libelektra${SO_VERSION})

# needs to be included last to collect all install components
include (scripts/cmake/ElektraPackaging.cmake)
16 changes: 8 additions & 8 deletions doc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -143,27 +143,27 @@ if (INSTALL_DOCUMENTATION)
install (
FILES BIGPICTURE.md
DESTINATION ${TARGET_DOCUMENTATION_TEXT_FOLDER}
COMPONENT libelektra4)
COMPONENT libelektra${SO_VERSION})
install (
FILES GOALS.md
DESTINATION ${TARGET_DOCUMENTATION_TEXT_FOLDER}
COMPONENT libelektra4)
COMPONENT libelektra${SO_VERSION})
install (
FILES METADATA.ini
DESTINATION ${TARGET_DOCUMENTATION_TEXT_FOLDER}
COMPONENT libelektra4)
COMPONENT libelektra${SO_VERSION})
install (
FILES SECURITY.md
DESTINATION ${TARGET_DOCUMENTATION_TEXT_FOLDER}
COMPONENT libelektra4)
COMPONENT libelektra${SO_VERSION})
install (
FILES AUTHORS.md
DESTINATION ${TARGET_DOCUMENTATION_TEXT_FOLDER}
COMPONENT libelektra4)
COMPONENT libelektra${SO_VERSION})
install (
FILES CONTRACT.ini
DESTINATION ${TARGET_DOCUMENTATION_TEXT_FOLDER}
COMPONENT libelektra4)
COMPONENT libelektra${SO_VERSION})
set (news ${CMAKE_CURRENT_BINARY_DIR}/NEWS.md)
file (GLOB files "news/*.md")
file (REMOVE ${news})
Expand All @@ -174,11 +174,11 @@ if (INSTALL_DOCUMENTATION)
install (
FILES ${news}
DESTINATION ${TARGET_DOCUMENTATION_TEXT_FOLDER}
COMPONENT libelektra4)
COMPONENT libelektra${SO_VERSION})
install (
FILES WHY.md
DESTINATION ${TARGET_DOCUMENTATION_TEXT_FOLDER}
COMPONENT libelektra4)
COMPONENT libelektra${SO_VERSION})

endif ()

Expand Down
10 changes: 5 additions & 5 deletions doc/INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ The `etc/apt/source.list` entry must look like following: `deb https://debs.libe

E.g. `deb https://debs.libelektra.org/focal focal-unstable main`

> NOTE: for Ubuntu Bionic the yamlcpp plugin is excluded due to missing dependencies and therefore the package `libelektra4-yamlcpp` is not available.
> NOTE: for Ubuntu Bionic the yamlcpp plugin is excluded due to missing dependencies and therefore the package `libelektra5-yamlcpp` is not available.
### Fedora

Expand Down Expand Up @@ -101,9 +101,9 @@ To get all packaged plugins, bindings and tools install:

```sh
# For Debian based distributions
apt-get install libelektra4-all
apt-get install libelektra5-all
# For Fedora based distributions
dnf install libelektra4-all
dnf install libelektra5-all
```

For a small installation with command-line tools available use:
Expand All @@ -128,9 +128,9 @@ If you want to install individual debugsym/debuginfo packages:

```sh
# For Debian based distributions
apt-get install <packagename>-dbgsym # e.g. apt-get install libelektra4-dbgsym
apt-get install <packagename>-dbgsym # e.g. apt-get install libelektra5-dbgsym
# For Fedora based distributions
dnf debuginfo-install <packagename> # e.g. dnf debuginfo-install libelektra4
dnf debuginfo-install <packagename> # e.g. dnf debuginfo-install libelektra5
```

To build Debian/Ubuntu Packages from the source you might want to use:
Expand Down
242 changes: 121 additions & 121 deletions scripts/cmake/ElektraPackaging.cmake

Large diffs are not rendered by default.

188 changes: 94 additions & 94 deletions scripts/cmake/Modules/PackagingDebian.cmake

Large diffs are not rendered by default.

190 changes: 95 additions & 95 deletions scripts/cmake/Modules/PackagingFedora.cmake

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/packaging/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ LUA_VERSION=$(lua -v | grep -Po '(?<=Lua )\d.\d')

echo "DIST: $DIST_NAME"

CMAKE_ARGS_BASE="-DTARGET_PLUGIN_FOLDER='elektra4' \
CMAKE_ARGS_BASE="-DTARGET_PLUGIN_FOLDER='elektra5' \
-DBUILD_STATIC=OFF \
-DGTEST_ROOT='/usr/src/gtest' \
-DCMAKE_INSTALL_PREFIX=/usr \
Expand Down
6 changes: 3 additions & 3 deletions src/bindings/intercept/env/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ set_target_properties (
install (
TARGETS elektraintercept-env
DESTINATION lib${LIB_SUFFIX}
COMPONENT libelektra4)
COMPONENT libelektra${SO_VERSION})

mkdir (${CMAKE_LIBRARY_OUTPUT_DIRECTORY})
create_lib_symlink (libelektraintercept-env.so libelektragetenv.so libelektra4)
create_lib_symlink (libelektraintercept-env.so libelektragetenv.so.0 libelektra4)
create_lib_symlink (libelektraintercept-env.so libelektragetenv.so libelektra${SO_VERSION})
create_lib_symlink (libelektraintercept-env.so libelektragetenv.so.0 libelektra${SO_VERSION})
4 changes: 2 additions & 2 deletions src/bindings/intercept/fs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ else ()
install (
TARGETS elektraintercept-fs
DESTINATION lib${LIB_SUFFIX}
COMPONENT libelektra4)
COMPONENT libelektra${SO_VERSION})

mkdir (${CMAKE_LIBRARY_OUTPUT_DIRECTORY})
create_lib_symlink (libelektraintercept-fs.so libelektraintercept.so libelektra4)
create_lib_symlink (libelektraintercept-fs.so libelektraintercept.so libelektra${SO_VERSION})
endif ()
2 changes: 1 addition & 1 deletion src/libs/ease/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
file (GLOB SOURCES *.c)
add_lib (ease SOURCES ${SOURCES} COMPONENT libelektra4)
add_lib (ease SOURCES ${SOURCES} COMPONENT libelektra${SO_VERSION})
6 changes: 3 additions & 3 deletions src/libs/elektra/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ if (BUILD_SHARED)
TARGETS elektra-core elektra-kdb
DESTINATION lib${LIB_SUFFIX}
EXPORT ElektraTargetsLibelektra
COMPONENT libelektra4)
COMPONENT libelektra${SO_VERSION})

list (APPEND targets_built ${elektra-all_LIBRARIES})
endif (BUILD_SHARED)
Expand Down Expand Up @@ -149,7 +149,7 @@ if (BUILD_FULL)
TARGETS elektra-full
DESTINATION lib${LIB_SUFFIX}
EXPORT ElektraTargetsLibelektra
COMPONENT libelektra4-full)
COMPONENT libelektra${SO_VERSION}-full)

list (APPEND targets_built elektra-full)
endif (BUILD_FULL)
Expand All @@ -174,7 +174,7 @@ if (BUILD_STATIC)
TARGETS elektra-static
DESTINATION lib${LIB_SUFFIX}
EXPORT ElektraTargetsLibelektra
COMPONENT libelektra4)
COMPONENT libelektra${SO_VERSION})

list (APPEND targets_built elektra-static)
endif (BUILD_STATIC)
Expand Down
2 changes: 1 addition & 1 deletion src/libs/globbing/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if (HAVE_FNMATCH)
LINK_ELEKTRA
elektra-ease
COMPONENT
libelektra4)
libelektra${SO_VERSION})
else ()
message ("Excluding lib-globbing, because fnmatch was not found.")
endif ()
2 changes: 1 addition & 1 deletion src/libs/highlevel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ add_lib (
elektra-kdb
elektra-ease
COMPONENT
libelektra4)
libelektra${SO_VERSION})

if (BUILD_SHARED)
set (LIBRARIES "-lelektra-highlevel -lelektra-kdb -lelektra-ease -lelektra-core")
Expand Down
2 changes: 1 addition & 1 deletion src/libs/invoke/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ add_lib (
LINK_ELEKTRA
elektra-kdb
COMPONENT
libelektra4)
libelektra${SO_VERSION})
2 changes: 1 addition & 1 deletion src/libs/io/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ add_lib (
elektra-kdb
elektra-invoke
COMPONENT
libelektra4)
libelektra${SO_VERSION})

configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/${LIBRARY_NAME}.pc.in" "${CMAKE_CURRENT_BINARY_DIR}/${LIBRARY_NAME}.pc" @ONLY)

Expand Down
2 changes: 1 addition & 1 deletion src/libs/meta/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ add_lib (
LINK_ELEKTRA
elektra-ease
COMPONENT
libelektra4)
libelektra${SO_VERSION})
2 changes: 1 addition & 1 deletion src/libs/notification/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ else ()
elektra-ease
elektra-invoke
COMPONENT
libelektra4)
libelektra${SO_VERSION})

configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/${LIBRARY_NAME}.pc.in" "${CMAKE_CURRENT_BINARY_DIR}/${LIBRARY_NAME}.pc" @ONLY)

Expand Down
2 changes: 1 addition & 1 deletion src/libs/opts/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ add_lib (
LINK_ELEKTRA
elektra-meta
COMPONENT
libelektra4)
libelektra${SO_VERSION})
2 changes: 1 addition & 1 deletion src/libs/plugin/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
file (GLOB SOURCES *.c)
add_lib (plugin SOURCES ${SOURCES} COMPONENT libelektra4)
add_lib (plugin SOURCES ${SOURCES} COMPONENT libelektra${SO_VERSION})
2 changes: 1 addition & 1 deletion src/libs/pluginprocess/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if (PLUGINPROCESS_FOUND)
elektra-invoke
elektra-plugin
COMPONENT
libelektra4)
libelektra${SO_VERSION})

if (ENABLE_TESTING)
add_subdirectory (tests)
Expand Down
2 changes: 1 addition & 1 deletion src/libs/tools/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ if (BUILD_FULL)
install (
TARGETS elektratools-full
DESTINATION lib${LIB_SUFFIX}
COMPONENT libelektra4-full)
COMPONENT libelektra${SO_VERSION}-full)
endif (BUILD_FULL)

if (BUILD_STATIC)
Expand Down
2 changes: 1 addition & 1 deletion src/libs/utility/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
file (GLOB SOURCES *.c)
add_lib (utility SOURCES ${SOURCES} COMPONENT libelektra4)
add_lib (utility SOURCES ${SOURCES} COMPONENT libelektra${SO_VERSION})
4 changes: 2 additions & 2 deletions src/plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ endif ()

if (BUILD_SHARED)
mkdir (${CMAKE_LIBRARY_OUTPUT_DIRECTORY})
create_lib_symlink (libelektra-${KDB_DEFAULT_STORAGE}.so libelektra-storage.so libelektra4 PLUGIN)
create_lib_symlink (libelektra-${KDB_DEFAULT_STORAGE}.so libelektra-storage.so libelektra${SO_VERSION} PLUGIN)

create_lib_symlink (libelektra-${KDB_DEFAULT_RESOLVER}.so libelektra-resolver.so libelektra4 PLUGIN)
create_lib_symlink (libelektra-${KDB_DEFAULT_RESOLVER}.so libelektra-resolver.so libelektra${SO_VERSION} PLUGIN)
endif (BUILD_SHARED)
2 changes: 1 addition & 1 deletion src/plugins/augeas/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ add_plugin (
COMPILE_DEFINITIONS "${LIBAUGEAS_COMPILE_DEFINITIONS}"
LINK_ELEKTRA elektra-meta
LINK_LIBRARIES ${AUGEAS_PLUGIN_LIBRARIES}
TEST_ENVIRONMENT "ASAN_OPTIONS=detect_container_overflow=0" COMPONENT libelektra4-augeas)
TEST_ENVIRONMENT "ASAN_OPTIONS=detect_container_overflow=0" COMPONENT libelektra${SO_VERSION}-augeas)
2 changes: 1 addition & 1 deletion src/plugins/base64/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ add_plugin (
base64
SOURCES base64_functions.h base64_functions.c base64.h base64.c
ADD_TEST TEST_README
TEST_REQUIRED_PLUGINS toml COMPONENT libelektra4)
TEST_REQUIRED_PLUGINS toml COMPONENT libelektra${SO_VERSION})
2 changes: 1 addition & 1 deletion src/plugins/blockresolver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ add_plugin (
SOURCES blockresolver.h blockresolver.c
LINK_ELEKTRA elektra-invoke
ADD_TEST INSTALL_TEST_DATA TEST_README
TEST_REQUIRED_PLUGINS mini COMPONENT libelektra4-experimental)
TEST_REQUIRED_PLUGINS mini COMPONENT libelektra${SO_VERSION}-experimental)
2 changes: 1 addition & 1 deletion src/plugins/c/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include (LibAddMacros)

add_plugin (c SOURCES c.h c.c COMPONENT libelektra4)
add_plugin (c SOURCES c.h c.c COMPONENT libelektra${SO_VERSION})
2 changes: 1 addition & 1 deletion src/plugins/cache/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ add_plugin (
cache
SOURCES cache.h cache.c
LINK_ELEKTRA elektra-kdb
ADD_TEST TEST_README COMPONENT libelektra4)
ADD_TEST TEST_README COMPONENT libelektra${SO_VERSION})

if (CACHE_DEPENDENCIES_OK AND BUILD_SHARED)
add_dependencies (elektra-cache elektra-resolver_fm_hpu_b elektra-mmapstorage)
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/ccode/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ add_plugin (
ccode CPP ADD_TEST CPP_TEST
SOURCES ccode.hpp ccode.cpp coder.hpp coder.cpp
TEST_README
TEST_REQUIRED_PLUGINS tcl base64 COMPONENT libelektra4-extra)
TEST_REQUIRED_PLUGINS tcl base64 COMPONENT libelektra${SO_VERSION}-extra)
2 changes: 1 addition & 1 deletion src/plugins/conditionals/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ add_plugin (
SOURCES conditionals.h conditionals.c
LINK_ELEKTRA elektra-meta
ADD_TEST TEST_README
TEST_REQUIRED_PLUGINS dump ini ni COMPONENT libelektra4-extra)
TEST_REQUIRED_PLUGINS dump ini ni COMPONENT libelektra${SO_VERSION}-extra)
2 changes: 1 addition & 1 deletion src/plugins/constants/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ add_plugin (
constants
SOURCES ${CMAKE_CURRENT_BINARY_DIR}/constants.c
TEST_README
TEST_REQUIRED_PLUGINS noresolver COMPONENT libelektra4)
TEST_REQUIRED_PLUGINS noresolver COMPONENT libelektra${SO_VERSION})
2 changes: 1 addition & 1 deletion src/plugins/counter/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include (LibAddMacros)

add_plugin (counter SOURCES counter.h counter.c COMPONENT libelektra4-extra)
add_plugin (counter SOURCES counter.h counter.c COMPONENT libelektra${SO_VERSION}-extra)
2 changes: 1 addition & 1 deletion src/plugins/cpptemplate/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include (LibAddMacros)

add_plugin (cpptemplate CPP ADD_TEST CPP_TEST TEST_README SOURCES cpptemplate.hpp cpptemplate.cpp cpptemplate_delegate.hpp
cpptemplate_delegate.cpp COMPONENT libelektra4-experimental)
cpptemplate_delegate.cpp COMPONENT libelektra${SO_VERSION}-experimental)
2 changes: 1 addition & 1 deletion src/plugins/crypto/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ add_plugin (
INCLUDE_DIRECTORIES ${Libgcrypt_INCLUDE_DIRS}
LINK_LIBRARIES ${Libgcrypt_LIBRARIES}
LINK_ELEKTRA elektra-invoke
ADD_TEST COMPONENT libelektra4-crypto)
ADD_TEST COMPONENT libelektra${SO_VERSION}-crypto)

if (ADDTESTING_PHASE)
set_property (TEST "testmod_crypto" PROPERTY LABELS memleak)
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/csvstorage/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ add_plugin (
SOURCES csvstorage.h csvstorage.c
LINK_ELEKTRA elektra-ease elektra-kdb
ADD_TEST INSTALL_TEST_DATA TEST_README
TEST_REQUIRED_PLUGINS directoryvalue COMPONENT libelektra4)
TEST_REQUIRED_PLUGINS directoryvalue COMPONENT libelektra${SO_VERSION})
2 changes: 1 addition & 1 deletion src/plugins/curlget/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ add_plugin (
SOURCES curlget.h curlget.c
LINK_ELEKTRA elektra-invoke
INCLUDE_DIRECTORIES ${CURLGET_INCLUDE_DIRS}
LINK_LIBRARIES ${CURLGET_LIBRARY_DIRS} COMPONENT libelektra4-curl)
LINK_LIBRARIES ${CURLGET_LIBRARY_DIRS} COMPONENT libelektra${SO_VERSION}-curl)
2 changes: 1 addition & 1 deletion src/plugins/date/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ endif (DEPENDENCY_PHASE)
add_plugin (
date
SOURCES date.h date.c
ADD_TEST COMPONENT libelektra4-extra)
ADD_TEST COMPONENT libelektra${SO_VERSION}-extra)
2 changes: 1 addition & 1 deletion src/plugins/dbus/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ add_plugin (
dbus
SOURCES dbus.h dbus.c sendmessage.c
INCLUDE_DIRECTORIES ${DBUS_INCLUDE_DIR} ${DBUS_ARCH_INCLUDE_DIR}
LINK_LIBRARIES ${DBUS_LIBRARIES} COMPONENT libelektra4-dbus)
LINK_LIBRARIES ${DBUS_LIBRARIES} COMPONENT libelektra${SO_VERSION}-dbus)

add_plugintest (dbus testmod_dbus.c receivemessage.c INCLUDE_DIRECTORIES ${DBUS_INCLUDE_DIR} ${DBUS_ARCH_INCLUDE_DIR})

Expand Down
4 changes: 2 additions & 2 deletions src/plugins/dbusrecv/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ add_plugin (
OBJECT_SOURCES $<TARGET_OBJECTS:io-adapter-dbus>
INCLUDE_DIRECTORIES ${DBUS_INCLUDE_DIR} ${DBUS_ARCH_INCLUDE_DIR}
LINK_ELEKTRA elektra-io elektra-invoke
LINK_LIBRARIES ${DBUS_LIBRARIES} COMPONENT libelektra4-dbus)
LINK_LIBRARIES ${DBUS_LIBRARIES} COMPONENT libelektra${SO_VERSION}-dbus)

set (NOT_INCLUDED "")
plugin_check_if_included ("${PLUGIN_SHORT_NAME}")
Expand Down Expand Up @@ -54,7 +54,7 @@ if (ADDTESTING_PHASE)
INCLUDE_SYSTEM_DIRECTORIES
${libuv_INCLUDE_DIRS}
COMPONENT
libelektra4-dbus)
libelektra${SO_VERSION}-dbus)

# add sources manually because add_plugintest does not support generator expressions for additional source files
if (BUILD_FULL OR BUILD_STATIC)
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/desktop/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include (LibAddMacros)

add_plugin (desktop SOURCES desktop.h desktop.c COMPONENT libelektra4-extra)
add_plugin (desktop SOURCES desktop.h desktop.c COMPONENT libelektra${SO_VERSION}-extra)
2 changes: 1 addition & 1 deletion src/plugins/directoryvalue/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
add_plugin (
directoryvalue CPP ADD_TEST CPP_TEST TEST_README
SOURCES directoryvalue.hpp directoryvalue.cpp directoryvalue_delegate.hpp directoryvalue_delegate.cpp log.hpp
LINK_ELEKTRA elektra-ease COMPONENT libelektra4)
LINK_ELEKTRA elektra-ease COMPONENT libelektra${SO_VERSION})
2 changes: 1 addition & 1 deletion src/plugins/doc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ include (LibAddMacros)
add_plugin (
doc
SOURCES doc.h doc.c
LINK_ELEKTRA elektra-kdb COMPONENT libelektra4-experimental)
LINK_ELEKTRA elektra-kdb COMPONENT libelektra${SO_VERSION}-experimental)
2 changes: 1 addition & 1 deletion src/plugins/dpkg/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include (LibAddMacros)

add_plugin (dpkg SOURCES dpkg.h dpkg.c COMPONENT libelektra4-extra)
add_plugin (dpkg SOURCES dpkg.h dpkg.c COMPONENT libelektra${SO_VERSION}-extra)
2 changes: 1 addition & 1 deletion src/plugins/dump/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include (LibAddPlugin)

add_plugin (dump SOURCES dump.hpp dump.cpp COMPONENT libelektra4)
add_plugin (dump SOURCES dump.hpp dump.cpp COMPONENT libelektra${SO_VERSION})

if (ADDTESTING_PHASE)
add_plugintest (dump INSTALL_TEST_DATA INCLUDE_DIRECTORIES ${CMAKE_CURRENT_BINARY_DIR})
Expand Down
Loading

0 comments on commit ce1ebfa

Please sign in to comment.