obs-studio/deps/CMakeLists.txt

18 lines
450 B
CMake
Raw Normal View History

2014-05-05 10:07:42 -07:00
add_subdirectory(w32-pthreads)
2014-04-14 14:27:52 -07:00
add_subdirectory(glad)
2014-05-24 06:46:22 -07:00
find_package(Jansson 2.5 QUIET)
if(NOT JANSSON_FOUND)
message(STATUS "Jansson >=2.5 not found, building bundled version")
add_subdirectory(jansson)
else()
message(STATUS "Using system Jansson library")
add_library(jansson UNKNOWN IMPORTED)
set_property(TARGET jansson PROPERTY
IMPORTED_LOCATION "${JANSSON_LIBRARIES}"
INTERFACE_INCLUDE_DIRECTORIES "${JANSSON_INCLUDE_DIRS}")
endif()