artikulate/0001-Install-internal-libraries-with-NAMELINK_SKIP.patch

52 lines
1.5 KiB
Diff
Raw Normal View History

From 66611f64ee98a4ffb7bac26b8c4f153c8102bae9 Mon Sep 17 00:00:00 2001
From: Fabian Vogt <fabian@ritter-vogt.de>
Date: Thu, 4 Jul 2019 20:26:25 +0200
Subject: [PATCH] Install internal libraries with NAMELINK_SKIP
They don't have any API/ABI guarantees, to the namelink would be mostly
useless anyway.
---
liblearnerprofile/src/CMakeLists.txt | 1 +
libsound/src/CMakeLists.txt | 1 +
src/CMakeLists.txt | 1 +
3 files changed, 3 insertions(+)
diff --git a/liblearnerprofile/src/CMakeLists.txt b/liblearnerprofile/src/CMakeLists.txt
index a15cdef..37ab579 100644
--- a/liblearnerprofile/src/CMakeLists.txt
+++ b/liblearnerprofile/src/CMakeLists.txt
@@ -57,5 +57,6 @@ set_target_properties(
install(
TARGETS artikulatelearnerprofile
+ LIBRARY NAMELINK_SKIP
${INSTALL_TARGETS_DEFAULT_ARGS}
)
diff --git a/libsound/src/CMakeLists.txt b/libsound/src/CMakeLists.txt
index 1ad39ea..4050cf7 100644
--- a/libsound/src/CMakeLists.txt
+++ b/libsound/src/CMakeLists.txt
@@ -55,6 +55,7 @@ set_target_properties(
install(
TARGETS artikulatesound
+ LIBRARY NAMELINK_SKIP
${INSTALL_TARGETS_DEFAULT_ARGS}
)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 066341a..11d64fc 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -93,6 +93,7 @@ set_target_properties(
)
install(
TARGETS artikulatecore
+ LIBRARY NAMELINK_SKIP
DESTINATION ${INSTALL_TARGETS_DEFAULT_ARGS}
)
install(FILES artikulate.knsrc DESTINATION ${CONFIG_INSTALL_DIR})
--
2.22.0