forked from speed-dreams/speed-dreams-code
Updated to vorbis 1.3.7
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7154 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 6a78f5a3755e4a280ced1d7380a2dcec42bf6a60 Former-commit-id: fec13ebcea4c92d1ff97bc07c0a0ade68034692d
This commit is contained in:
parent
105cd13f18
commit
8b3c152f22
2 changed files with 11 additions and 14 deletions
|
@ -297,19 +297,16 @@ else(OPTION_OGG)
|
|||
endif(OPTION_OGG)
|
||||
|
||||
if(OPTION_VORBIS)
|
||||
ExternalProject_Add(libvorbis-1.3.6
|
||||
URL http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.6.tar.gz
|
||||
URL_HASH SHA256=6ed40e0241089a42c48604dc00e362beee00036af2d8b3f46338031c9e0351cb
|
||||
CMAKE_ARGS ${EXTERNALS_CMAKE_ARGS}
|
||||
DEPENDS ${OGG_PROJECT}
|
||||
)
|
||||
ExternalProject_Add_Step(libvorbis-1.3.6 libvorbis_add_cmake
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
||||
"${CMAKE_SOURCE_DIR}/patches/libvorbis-1.3.6.CMakeLists.txt"
|
||||
"<SOURCE_DIR>/CMakeLists.txt"
|
||||
DEPENDEES update # do after update
|
||||
DEPENDERS patch # do before patch
|
||||
)
|
||||
set(VORBIS_PROJECT vorbis-1.3.7)
|
||||
set(VORBIS_ARGS ${EXTERNALS_CMAKE_ARGS} -DBUILD_SHARED_LIBS=on)
|
||||
ExternalProject_Add(${VORBIS_PROJECT}
|
||||
URL http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.7.tar.gz
|
||||
URL_HASH SHA256=0e982409a9c3fc82ee06e08205b1355e5c6aa4c36bca58146ef399621b0ce5ab
|
||||
CMAKE_ARGS ${VORBIS_ARGS}
|
||||
DEPENDS ${OGG_PROJECT}
|
||||
)
|
||||
else(OPTION_VORBIS)
|
||||
set(VORBIS_PROJECT )
|
||||
endif(OPTION_VORBIS)
|
||||
|
||||
if(OPTION_EXPAT)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Copyright (c) 2002-2018 Xiph.org Foundation
|
||||
Copyright (c) 2002-2020 Xiph.org Foundation
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
|
|
Loading…
Reference in a new issue