projects/aports·blob master · refs

25 lines · 877 B

1Patch-Source: https://github.com/hoene/libmysofa/commit/1b7d3bb0c5d13a6d2db0b439231ce65f4ad4cca0.patch
2--
3From 1b7d3bb0c5d13a6d2db0b439231ce65f4ad4cca0 Mon Sep 17 00:00:00 2001
4From: "Jason E. Hale" <[email protected]>
5Date: Tue, 17 Oct 2023 15:10:23 -0400
6Subject: [PATCH] Install header when only building shared library
7
8Fixes #210
9---
10 src/CMakeLists.txt | 2 ++
11 1 file changed, 2 insertions(+)
12
13diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
14index dcaa92a..0de9632 100644
15--- a/src/CMakeLists.txt
16+++ b/src/CMakeLists.txt
17@@ -127,6 +127,8 @@ if(BUILD_SHARED_LIBS)
18 # with the mysofa-static library.
19 set_target_properties(mysofa-shared
20 PROPERTIES ARCHIVE_OUTPUT_NAME mysofa_shared)
21+ set_target_properties(mysofa-shared
22+ PROPERTIES PUBLIC_HEADER "${public-headers}")
23
24 set_property(
25 TARGET mysofa-shared