summaryrefslogtreecommitdiff
path: root/kms++
diff options
context:
space:
mode:
Diffstat (limited to 'kms++')
-rw-r--r--kms++/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/kms++/CMakeLists.txt b/kms++/CMakeLists.txt
index 1ca8815..e095ce0 100644
--- a/kms++/CMakeLists.txt
+++ b/kms++/CMakeLists.txt
@@ -24,8 +24,11 @@ target_include_directories(kms++ PUBLIC
target_link_libraries(kms++ ${LIBDRM_LIBRARIES} ${LIBDRM_OMAP_LIBRARIES} fmt::fmt)
+# Set a dummy SOVERSION just to avoid having a naked .so file in the filesystem.
+# This version number doesn't make any promise about API/ABI stability.
set_target_properties(kms++ PROPERTIES
- PUBLIC_HEADER "${PUB_HDRS}")
+ PUBLIC_HEADER "${PUB_HDRS}"
+ SOVERSION 0)
install(TARGETS kms++
LIBRARY DESTINATION lib