yolobs-studio/deps/CMakeLists.txt

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

39 lines
863 B
CMake
Raw Normal View History

2016-02-23 23:16:51 +00:00
if(NOT MINGW)
add_subdirectory(w32-pthreads)
endif()
add_subdirectory(glad)
add_subdirectory(ipc-util)
2017-06-29 19:01:10 +00:00
if(BUILD_LIBFF)
add_subdirectory(libff)
endif()
add_subdirectory(media-playback)
2016-02-23 23:16:51 +00:00
add_subdirectory(file-updater)
2018-02-19 19:54:37 +00:00
add_subdirectory(obs-scripting)
2016-02-23 23:16:51 +00:00
2017-04-19 19:54:15 +00:00
if(WIN32)
add_subdirectory(blake2)
add_subdirectory(lzma)
endif()
2020-12-22 17:32:50 +00:00
add_subdirectory(libcaption)
2017-04-19 19:54:15 +00:00
2016-02-23 23:16:51 +00:00
find_package(Jansson 2.5 QUIET)
if(NOT JANSSON_FOUND)
message(STATUS "Jansson >=2.5 not found, building bundled version")
add_subdirectory(jansson)
set(OBS_JANSSON_IMPORT "jansson" CACHE INTERNAL "Internal var")
set(OBS_JANSSON_INCLUDE_DIRS "" CACHE INTERNAL "Internal var")
else()
message(STATUS "Using system Jansson library")
set(OBS_JANSSON_IMPORT "${JANSSON_LIBRARIES}" CACHE INTERNAL "Internal var")
set(OBS_JANSSON_INCLUDE_DIRS "${JANSSON_INCLUDE_DIRS}" CACHE INTERNAL "Internal var")
endif()