mirror of
https://github.com/obsproject/obs-studio
synced 2025-04-29 15:57:26 +08:00
cmake: Use Extra CMake Modules on Linux
This commit is contained in:
parent
1643470a85
commit
e53293a785
@ -10,7 +10,7 @@ env:
|
||||
task:
|
||||
install_script:
|
||||
- pkg install -y
|
||||
cmake ninja binutils pkgconf curl
|
||||
cmake ninja binutils pkgconf curl kf6-extra-cmake-modules
|
||||
ffmpeg qt6-base qt6-svg jansson libsysinfo e2fsprogs-libuuid pulseaudio
|
||||
alsa-lib pipewire v4l_compat libpci librist srt nlohmann-json uthash
|
||||
qr-code-generator websocketpp asio vlc swig luajit jackit sndio fdk-aac
|
||||
|
2
.github/scripts/utils.zsh/setup_ubuntu
vendored
2
.github/scripts/utils.zsh/setup_ubuntu
vendored
@ -60,7 +60,7 @@ log_group 'Installing obs-studio build dependencies from apt...'
|
||||
|
||||
sudo apt-get install -y --no-install-recommends \
|
||||
build-essential libglib2.0-dev \
|
||||
lsb-release dh-cmake \
|
||||
extra-cmake-modules lsb-release dh-cmake \
|
||||
libcurl4-openssl-dev \
|
||||
libavcodec-dev libavdevice-dev libavfilter-dev libavformat-dev libavutil-dev \
|
||||
libswresample-dev libswscale-dev \
|
||||
|
@ -40,3 +40,4 @@ set(OBS_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
||||
set(CMAKE_FIND_PACKAGE_TARGETS_GLOBAL TRUE)
|
||||
|
||||
include(cpackconfig)
|
||||
include(ecmconfig)
|
||||
|
7
cmake/linux/ecmconfig.cmake
Normal file
7
cmake/linux/ecmconfig.cmake
Normal file
@ -0,0 +1,7 @@
|
||||
# OBS CMake Linux Extra CMake Module configuration module
|
||||
|
||||
include_guard(GLOBAL)
|
||||
|
||||
find_package(ECM REQUIRED NO_MODULE)
|
||||
|
||||
list(APPEND CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
|
Loading…
x
Reference in New Issue
Block a user