SHA256
1
0
forked from pool/alure
alure/alure-cmake-3.28.patch
Ferdinand Thiessen 2e7ac374c6 Accepting request 1146601 from home:dimstar:Factory
- Add alure-cmake-3.28.patch: Fix build using CMake 3.28: set
  sndfile flags into COMPILE_OPTIONS (which takes a semicolon
  separatedlist) instead of COMPILE_FLAGS (which asks for a shell
  usable string).

With this, you can decline https://build.opensuse.org/request/show/1144746 (bot del req)

OBS-URL: https://build.opensuse.org/request/show/1146601
OBS-URL: https://build.opensuse.org/package/show/games/alure?expand=0&rev=12
2024-02-15 18:11:06 +00:00

14 lines
573 B
Diff

Index: alure-1.2/CMakeLists.txt
===================================================================
--- alure-1.2.orig/CMakeLists.txt
+++ alure-1.2/CMakeLists.txt
@@ -223,7 +223,7 @@ IF(SNDFILE)
SET(HAS_SNDFILE 1)
LINK_DIRECTORIES(${SNDFILE_LIBRARY_DIRS})
SET_SOURCE_FILES_PROPERTIES(src/codec_sndfile.cpp PROPERTIES
- COMPILE_FLAGS "${SNDFILE_CFLAGS}")
+ COMPILE_OPTIONS "${SNDFILE_CFLAGS}")
ELSE(SNDFILE_FOUND)
FIND_PACKAGE(SndFile)
IF(SNDFILE_FOUND)