obs-studio/deps/CMakeLists.txt

28 lines
669 B
CMake
Raw Normal View History

if(OS_WINDOWS)
if(NOT MINGW)
add_subdirectory(w32-pthreads)
endif()
add_subdirectory(ipc-util)
add_subdirectory(blake2)
add_subdirectory(lzma)
endif()
2014-04-14 14:27:52 -07:00
add_subdirectory(glad)
add_subdirectory(media-playback)
add_subdirectory(file-updater)
add_subdirectory(obs-scripting)
add_subdirectory(opts-parser)
2020-11-02 20:46:55 -08:00
add_subdirectory(libcaption)
# Use bundled jansson version as fallback
2014-05-24 06:46:22 -07:00
find_package(Jansson 2.5 QUIET)
if(NOT TARGET Jansson::Jansson)
obs_status(STATUS "Jansson >=2.5 not found, building bundled version.")
2014-05-24 06:46:22 -07:00
add_subdirectory(jansson)
add_library(Jansson::Jansson ALIAS jansson)
2014-05-24 06:46:22 -07:00
else()
obs_status(STATUS "Using system Jansson library.")
2014-07-17 09:02:43 -07:00
endif()