Skip to content

Commit 7d095aa

Browse files
authored
Merge pull request #90 from koide3/soname
soname
2 parents c4af3d1 + 29ab5e6 commit 7d095aa

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,10 @@ target_link_libraries(gtsam_points
216216
$<TARGET_NAME_IF_EXISTS:TBB::tbb>
217217
$<TARGET_NAME_IF_EXISTS:OpenMP::OpenMP_CXX>
218218
)
219+
set_target_properties(gtsam_points PROPERTIES
220+
VERSION ${PROJECT_VERSION}
221+
SOVERSION 1
222+
)
219223

220224
# GPU-related
221225
if(BUILD_WITH_CUDA)
@@ -263,6 +267,10 @@ if(BUILD_WITH_CUDA)
263267
$<TARGET_NAME_IF_EXISTS:TBB::tbb>
264268
$<TARGET_NAME_IF_EXISTS:OpenMP::OpenMP_CXX>
265269
)
270+
set_target_properties(gtsam_points_cuda PROPERTIES
271+
VERSION ${PROJECT_VERSION}
272+
SOVERSION 1
273+
)
266274

267275
target_link_libraries(gtsam_points
268276
gtsam_points_cuda

0 commit comments

Comments
 (0)