vgmstream/cmake/dependencies/audacious.cmake
LoveEevee 81ebcddd7b Cmake: Refactor dependency fetching
- Build maiatrac3plus on targets without ffmpeg
2021-09-19 08:46:47 +03:00

11 lines
301 B
CMake

if(NOT WIN32 AND BUILD_AUDACIOUS)
set(AUDACIOUS_SOURCE "(system)")
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()