Imported Upstream version 0.13.2+dsfg1
This commit is contained in:
commit
fb3990e9e5
2036 changed files with 287360 additions and 0 deletions
37
plugins/coreaudio-encoder/CMakeLists.txt
Normal file
37
plugins/coreaudio-encoder/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
project(coreaudio-encoder)
|
||||
|
||||
set(coreaudio-encoder_SOURCES
|
||||
encoder.cpp)
|
||||
|
||||
if (WIN32)
|
||||
set(coreaudio-encoder_HEADERS windows-imports.h)
|
||||
set(coreaudio-encoder_LIBS )
|
||||
|
||||
if (MINGW)
|
||||
set_source_files_properties(${coreaudio-encoder_SOURCES}
|
||||
PROPERTIES COMPILE_FLAGS "-Wno-multichar")
|
||||
endif()
|
||||
else()
|
||||
find_library(COREFOUNDATION CoreFoundation)
|
||||
find_library(COREAUDIO CoreAudio)
|
||||
find_library(AUDIOTOOLBOX AudioToolbox)
|
||||
set(coreaudio-encoder_HEADERS )
|
||||
set(coreaudio-encoder_LIBS
|
||||
${COREFOUNDATION}
|
||||
${COREAUDIO}
|
||||
${AUDIOTOOLBOX})
|
||||
|
||||
include_directories(${COREFOUNDATION}
|
||||
${COREAUDIO}
|
||||
${AUDIOTOOLBOX})
|
||||
endif()
|
||||
|
||||
add_library(coreaudio-encoder MODULE
|
||||
${coreaudio-encoder_SOURCES}
|
||||
${coreaudio-encoder_HEADERS})
|
||||
|
||||
target_link_libraries(coreaudio-encoder
|
||||
libobs
|
||||
${coreaudio-encoder_LIBS})
|
||||
|
||||
install_obs_plugin_with_data(coreaudio-encoder data)
|
||||
Loading…
Add table
Add a link
Reference in a new issue