forked from pool/slade
Jan Engelhardt
7c047ec165
OBS-URL: https://build.opensuse.org/package/show/games:tools/slade?expand=0&rev=30
25 lines
805 B
Diff
25 lines
805 B
Diff
From: Jan Engelhardt <jengelh@inai.de>
|
|
Date: 2020-06-22 21:16:10.343429323 +0200
|
|
|
|
Make use of the clzma library in openSUSE.
|
|
---
|
|
src/External/CMakeLists.txt | 3 +--
|
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
|
|
|
Index: SLADE-3.1.12/src/External/CMakeLists.txt
|
|
===================================================================
|
|
--- SLADE-3.1.12.orig/src/External/CMakeLists.txt
|
|
+++ SLADE-3.1.12/src/External/CMakeLists.txt
|
|
@@ -26,10 +26,9 @@ file(GLOB_RECURSE EXTERNAL_SOURCES
|
|
*.cxx
|
|
dumb/*.c
|
|
lua/*.c
|
|
- lzma/C/LzmaDec.c
|
|
${SLADE_HEADERS}
|
|
)
|
|
|
|
add_library(external STATIC ${EXTERNAL_SOURCES})
|
|
-target_link_libraries(external ${ZLIB_LIBRARY} ${wxWidgets_LIBRARIES})
|
|
+target_link_libraries(external ${ZLIB_LIBRARY} ${wxWidgets_LIBRARIES} -lclzma)
|
|
set(EXTERNAL_LIBRARIES external PARENT_SCOPE)
|