Files
libmysofa/Install-header-when-only-building-shared-lib.patch
Mia Herkt d51d01bf12 - Update to 1.3.2:
* allow slightly more dense HRTFs
  * allow all kinds of room types
  * target exporting
  * bug fix in memory reader
  * enable big endian support
- Drop 0001-fix-big-endian-convertion-of-double-value.patch
- Add Install-header-when-only-building-shared-lib.patch
  See https://github.com/hoene/libmysofa/issues/210

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libmysofa?expand=0&rev=27
2023-10-23 01:35:47 +00:00

24 lines
771 B
Diff

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