obs-studio/plugins/obs-libfdk/CMakeLists.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
480 B
CMake
Raw Normal View History

2014-05-22 12:07:17 +02:00
project(obs-libfdk)
option(ENABLE_LIBFDK "Enable FDK AAC support" OFF)
if(NOT ENABLE_LIBFDK)
obs_status(DISABLED "obs-libfdk")
return()
2014-05-22 12:07:17 +02:00
endif()
find_package(Libfdk REQUIRED)
add_library(obs-libfdk MODULE)
add_library(OBS::libfdk ALIAS obs-libfdk)
target_sources(obs-libfdk PRIVATE obs-libfdk.c)
2014-05-22 12:07:17 +02:00
target_link_libraries(obs-libfdk PRIVATE OBS::libobs LibFDK::LibFDK)
2014-05-22 12:07:17 +02:00
set_target_properties(obs-libfdk PROPERTIES FOLDER "plugins" PREFIX "")
2014-05-22 12:07:17 +02:00
setup_plugin_target(obs-libfdk)