Full rewrite of all CMakeLists

CMake now works on all platforms
This commit is contained in:
BtbN
2014-01-20 16:58:58 +01:00
parent 8fa309c96e
commit 45ec80fb7d
48 changed files with 2069 additions and 43 deletions

View File

@@ -0,0 +1,23 @@
project(obs-outputs)
find_package(Libx264 REQUIRED)
include_directories(${Libx264_INCLUDE_DIR})
set(obs-outputs_SOURCES
obs-outputs.c
obs-x264.c
rtmp-stream.c)
set(obs-outputs_HEADERS
obs-outputs.h
obs-x264.h
rtmp-stream.h)
add_library(obs-outputs MODULE
${obs-outputs_SOURCES}
${obs-outputs_HEADERS})
target_link_libraries(obs-outputs
libobs
${Libx264_LIBRARIES})
install_obs_plugin(obs-outputs)