File: soversion

package info (click to toggle)
dmlc-core 0.5%2Bgit20240614.1334185-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,672 kB
  • sloc: cpp: 16,312; python: 1,421; ansic: 1,014; java: 802; makefile: 236; sh: 140; xml: 138
file content (17 lines) | stat: -rw-r--r-- 508 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
set the soversion
Index: dmlc-core/CMakeLists.txt
===================================================================
--- dmlc-core.orig/CMakeLists.txt
+++ dmlc-core/CMakeLists.txt
@@ -59,9 +59,8 @@ if(USE_AZURE)
 endif()
 
 add_library(dmlc ${SOURCE})
-set_target_properties(dmlc PROPERTIES
-  VERSION ${PROJECT_VERSION}
-  SOVERSION ${PROJECT_VERSION_MAJOR})
+set_target_properties(dmlc PROPERTIES VERSION 0 SOVERSION 0)
+
 target_compile_features(dmlc PUBLIC cxx_std_${CMAKE_CXX_STANDARD})
 
 # Sanitizer