5d9526d98c
Originally I made the "win_pipe" stuff for named pipes on windows but it was argued that it should be available to all modules and programs/libraries that the modules might communicate with. It cannot really be put in to libobs due to the fact that there would hypothetically be things unrelated to libobs that might want to use it, so I felt the best option was just to create a simple static library specific for interprocess communication. Non-windows versions of these functions are still yet to be implemented.
21 lines
594 B
CMake
21 lines
594 B
CMake
|
|
add_subdirectory(w32-pthreads)
|
|
add_subdirectory(glad)
|
|
add_subdirectory(ipc-util)
|
|
|
|
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()
|