Files
libsc/fix_getopt_install.patch
Stefan Brüns c87fc43858 Accepting request 1136036 from home:StefanBruens:branches:science
- Update to version 2.8.5, no changelog provided
- Drop upstream patches:
  * remove_b64dec_enc.patch
- Add patches:
  * fix_zlib_linking.patch
  * fix_getopt_install.patch
  * fix_getopt_install2.patch

OBS-URL: https://build.opensuse.org/request/show/1136036
OBS-URL: https://build.opensuse.org/package/show/science/libsc?expand=0&rev=2
2024-01-03 02:02:48 +00:00

23 lines
788 B
Diff

From bd2529069b8f74053f6d21cf8aed8285c651e1d2 Mon Sep 17 00:00:00 2001
From: Pierre Kestener <pierre.kestener@cea.fr>
Date: Mon, 24 Apr 2023 17:47:32 +0200
Subject: [PATCH] Fix issue #105
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 55afabac9..f4f4775d9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -52,7 +52,7 @@ $<$<BOOL:${SC_NEED_M}>:m>
add_library(SC::SC INTERFACE IMPORTED GLOBAL)
target_link_libraries(SC::SC INTERFACE sc)
-install(DIRECTORY ${PROJECT_SOURCE_DIR}/src/ ${PROJECT_SOURCE_DIR}/src/sc_builtin/ ${PROJECT_BINARY_DIR}/include/
+install(DIRECTORY ${PROJECT_SOURCE_DIR}/src/ ${PROJECT_BINARY_DIR}/include/
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
FILES_MATCHING PATTERN "*.h"
)