SHA256
1
0
forked from pool/alure
alure/alure-cmake-3.28.patch

14 lines
573 B
Diff
Raw Normal View History

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)