7a395e2e7f
The last good commit wasf57e4c5b98. After this one more fix was committed, this one is preserved as well:67bd678887.
18 lines
486 B
CMake
18 lines
486 B
CMake
# SPDX-FileCopyrightText: 2002-2023 Blender Authors
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
ExternalProject_Add(external_vorbis
|
|
URL file://${PACKAGE_DIR}/${VORBIS_FILE}
|
|
DOWNLOAD_DIR ${DOWNLOAD_DIR}
|
|
URL_HASH ${VORBIS_HASH_TYPE}=${VORBIS_HASH}
|
|
PREFIX ${BUILD_DIR}/vorbis
|
|
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${LIBDIR}/vorbis -DOGG_ROOT=${LIBDIR}/ogg ${DEFAULT_CMAKE_FLAGS}
|
|
INSTALL_DIR ${LIBDIR}/vorbis
|
|
)
|
|
|
|
add_dependencies(
|
|
external_vorbis
|
|
external_ogg
|
|
)
|