File: 0004-Do-not-export-target-for-soplex-binary.patch

package info (click to toggle)
soplex 7.1.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,560 kB
  • sloc: cpp: 77,071; sh: 1,125; python: 672; makefile: 668; awk: 243; ansic: 93; php: 15
file content (26 lines) | stat: -rw-r--r-- 1,137 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
22
23
24
25
26
From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
Date: Wed, 2 Oct 2024 00:23:32 +0200
Subject: Do not export target for soplex binary

---
 src/CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 09cd1dc..9cb2f13 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -223,11 +223,12 @@ install(FILES soplex.h soplex.hpp soplex_interface.h DESTINATION ${CMAKE_INSTALL
   DESTINATION include/soplex/external/zstr)
 
 # install the binary and the library to appropriate lcoations and add them to an export group
-install(TARGETS soplex libsoplex libsoplex-pic libsoplexshared EXPORT soplex-targets
+install(TARGETS libsoplex libsoplex-pic libsoplexshared EXPORT soplex-targets
 	LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
 	ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
 	RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
 	INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
+install(TARGETS soplex RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
 
 # Add library targets to the build-tree export set
 export(TARGETS libsoplex libsoplex-pic libsoplexshared