mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-12 09:40:51 +01:00
bf89c3503d
- Sets dependencies for targets - Fixes not being able to build single targets, like `make vgmstream_cli` - Fixes not being able to build with multiple jobs, like `make -j 5` - Compiles dependencies out of the source directory - Fixes double lib suffix, renaming liblibvgmstream.a to libvgmstream.a - Removes zlib dependency from static builds, previously required by ffmpeg - If ARCHIVE_EXTRACT is not available in cmake, mpg123 will be downloaded through svn, then fall back to git if that is not available either
12 lines
335 B
CMake
12 lines
335 B
CMake
if(NOT WIN32 AND BUILD_AUDACIOUS)
|
|
set(AUDACIOUS_SOURCE "(system)")
|
|
|
|
find_package(PkgConfig REQUIRED)
|
|
pkg_search_module(AUDACIOUS REQUIRED audacious>=3.6)
|
|
pkg_get_variable(AUDACIOUS_PLUGIN_DIR audacious plugin_dir)
|
|
pkg_search_module(GTK REQUIRED gtk+-3.0 gtk+-2.0)
|
|
endif()
|
|
if(NOT BUILD_AUDACIOUS)
|
|
unset(AUDACIOUS_SOURCE)
|
|
endif()
|