File: Avoid-exporting-cmd-tool-in-ConvertTargets.patch

package info (click to toggle)
libbgcode 0.0~git20250220.5041c09-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,188 kB
  • sloc: cpp: 3,700; python: 255; makefile: 6
file content (21 lines) | stat: -rw-r--r-- 770 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Chow Loong Jin <hyperair@debian.org>
Date: Mon, 11 Dec 2023 16:47:19 +0800
Subject: Avoid exporting cmd tool in ConvertTargets

This allows the -dev package to be used without having the cli tool installed.
---
 src/LibBGCode/cmd/CMakeLists.txt | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/LibBGCode/cmd/CMakeLists.txt b/src/LibBGCode/cmd/CMakeLists.txt
index 0922214..5868fed 100644
--- a/src/LibBGCode/cmd/CMakeLists.txt
+++ b/src/LibBGCode/cmd/CMakeLists.txt
@@ -12,7 +12,6 @@ target_link_libraries(${_libname}_cmd ${_libname}_convert Boost::nowide)
 
 if (NOT EMSCRIPTEN)
     install(TARGETS ${_libname}_cmd
-        EXPORT ${PROJECT_NAME}ConvertTargets
         RUNTIME  DESTINATION bin
         INCLUDES DESTINATION include/${PROJECT_NAME}
     )