23 lines
613 B
CMake
23 lines
613 B
CMake
cmake_minimum_required(VERSION 3.29)
|
|
|
|
project(ext_opus)
|
|
include(${CMAKE_SOURCE_DIR}/../cmake/base-dep-options.cmake)
|
|
|
|
ExternalProject_Add(
|
|
ext_opus
|
|
DOWNLOAD_DIR ${EXTERNALS_DOWNLOAD_DIR}
|
|
# Official tarball has a missing opus_buildtype.cmake
|
|
# The Git tag is complete
|
|
GIT_REPOSITORY https://gitlab.xiph.org/xiph/opus.git
|
|
GIT_TAG v1.6.1
|
|
|
|
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${EXTPREFIX}
|
|
-DCMAKE_BUILD_TYPE=${GLOBAL_BUILD_TYPE}
|
|
-DBUILD_SHARED_LIBS=TRUE
|
|
-DOPUS_STACK_PROTECTOR=OFF
|
|
${GLOBAL_PROFILE}
|
|
|
|
UPDATE_COMMAND ""
|
|
)
|
|
|
|
krita_add_to_ci_targets(ext_opus)
|