Imported Upstream version 0.13.2+dsfg1
This commit is contained in:
commit
fb3990e9e5
2036 changed files with 287360 additions and 0 deletions
25
deps/CMakeLists.txt
vendored
Normal file
25
deps/CMakeLists.txt
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
|
||||
if(NOT MINGW)
|
||||
add_subdirectory(w32-pthreads)
|
||||
endif()
|
||||
|
||||
add_subdirectory(glad)
|
||||
add_subdirectory(ipc-util)
|
||||
add_subdirectory(libff)
|
||||
add_subdirectory(file-updater)
|
||||
|
||||
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()
|
||||
Loading…
Add table
Add a link
Reference in a new issue