Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:plater
libmysofa
Install-header-when-only-building-shared-lib.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Install-header-when-only-building-shared-lib.patch of Package libmysofa
From 1b7d3bb0c5d13a6d2db0b439231ce65f4ad4cca0 Mon Sep 17 00:00:00 2001 From: "Jason E. Hale" <jhale@FreeBSD.org> Date: Tue, 17 Oct 2023 15:10:23 -0400 Subject: [PATCH] Install header when only building shared library Fixes #210 --- src/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index dcaa92a..0de9632 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -127,6 +127,8 @@ if(BUILD_SHARED_LIBS) # with the mysofa-static library. set_target_properties(mysofa-shared PROPERTIES ARCHIVE_OUTPUT_NAME mysofa_shared) + set_target_properties(mysofa-shared + PROPERTIES PUBLIC_HEADER "${public-headers}") set_property( TARGET mysofa-shared
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