Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:branches:games
librealsense
0001-Add-support-to-build-all-libraries-in-shar...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Add-support-to-build-all-libraries-in-shared-mode.patch of Package librealsense
From 59ee7a234ad0c2bb2d82fd1c2d86adfb7652c9ab Mon Sep 17 00:00:00 2001 From: Ralf Habacker <ralf.habacker@freenet.de> Date: Mon, 30 Oct 2023 11:46:57 +0100 Subject: [PATCH] Add support to build all libraries in shared mode --- common/fw/CMakeLists.txt | 2 +- third-party/realsense-file/CMakeLists.txt | 2 +- third-party/rsutils/CMakeLists.txt | 2 +- third-party/rsutils/src/configure-elpp-logger.cpp | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/common/fw/CMakeLists.txt b/common/fw/CMakeLists.txt index 9cfdd9b5f..fa09791ac 100644 --- a/common/fw/CMakeLists.txt +++ b/common/fw/CMakeLists.txt @@ -29,7 +29,7 @@ set(L51X_FW_VERSION ${CMAKE_MATCH_1}) set(L51X_FW_SHA1 ab73e5bfc520c0aa0340cada4b3e317b8fd31a4d) set(L51X_FW_URL "${REALSENSE_FIRMWARE_URL}/Releases/L5xx/FW") -add_library(${PROJECT_NAME} STATIC empty.c) +add_library(${PROJECT_NAME} empty.c) # disable link time optimization for fw by adding -fno-lto to disable -flto flag # jammy debian has build errors without it diff --git a/third-party/realsense-file/CMakeLists.txt b/third-party/realsense-file/CMakeLists.txt index a805cddf8..9a5e41850 100644 --- a/third-party/realsense-file/CMakeLists.txt +++ b/third-party/realsense-file/CMakeLists.txt @@ -20,7 +20,7 @@ source_group("Source Files\\lz4" FILES lz4/lz4.c ) -add_library(${PROJECT_NAME} STATIC +add_library(${PROJECT_NAME} ${AllSources} ${HEADER_FILES_ROSBAG} ${SOURCE_FILES_ROSBAG} diff --git a/third-party/rsutils/CMakeLists.txt b/third-party/rsutils/CMakeLists.txt index f6a0e4114..4e579eeb9 100644 --- a/third-party/rsutils/CMakeLists.txt +++ b/third-party/rsutils/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.8.0) # source_group(TREE) project( rsutils ) -add_library( ${PROJECT_NAME} STATIC "" ) +add_library( ${PROJECT_NAME} "" ) set_target_properties( ${PROJECT_NAME} PROPERTIES FOLDER Library ) target_include_directories( ${PROJECT_NAME} diff --git a/third-party/rsutils/src/configure-elpp-logger.cpp b/third-party/rsutils/src/configure-elpp-logger.cpp index 9f24ab52a..05dddbfb9 100644 --- a/third-party/rsutils/src/configure-elpp-logger.cpp +++ b/third-party/rsutils/src/configure-elpp-logger.cpp @@ -4,6 +4,8 @@ #ifdef BUILD_EASYLOGGINGPP #include <rsutils/easylogging/easyloggingpp.h> +INITIALIZE_EASYLOGGINGPP + namespace rsutils { -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor