Description: Add CMake instructions for building the C++ library
Author: Rafael Laboissière <rafael@debian.org>
Forwarded: https://github.com/ENSTABretagneRobotics/VIBES/issues/122
Last-Update: 2023-12-16

--- vibes-0.2.3.orig/viewer/CMakeLists.txt
+++ vibes-0.2.3/viewer/CMakeLists.txt
@@ -97,6 +78,9 @@ IF(UNIX)
 		INSTALL(TARGETS ${VIBES_viewer_EXE} DESTINATION bin)
 ENDIF(UNIX OR WIN32)
 
+add_library(vibes SHARED ../client-api/C++/src/vibes.h ../client-api/C++/src/vibes.cpp)
+set_target_properties(vibes PROPERTIES SOVERSION 0 VERSION 0.0.1)
+
 # Packaging
 IF(APPLE)
     IF(NOT QT_BINARY_DIR)
