Imported Upstream version 0.13.2+dsfg1
This commit is contained in:
commit
fb3990e9e5
2036 changed files with 287360 additions and 0 deletions
32
deps/file-updater/CMakeLists.txt
vendored
Normal file
32
deps/file-updater/CMakeLists.txt
vendored
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
project(file-updater)
|
||||
|
||||
find_package(Libcurl REQUIRED)
|
||||
|
||||
include_directories(${LIBCURL_INCLUDE_DIRS})
|
||||
|
||||
if(WIN32 AND NOT MINGW)
|
||||
include_directories(../w32-pthreads)
|
||||
set(file-updater_PLATFORM_DEPS
|
||||
w32-pthreads)
|
||||
endif()
|
||||
|
||||
set(file-updater_HEADERS
|
||||
file-updater/file-updater.h)
|
||||
set(file-updater_SOURCES
|
||||
file-updater/file-updater.c)
|
||||
|
||||
add_library(file-updater STATIC
|
||||
${file-updater_SOURCES}
|
||||
${file-updater_HEADERS})
|
||||
|
||||
target_include_directories(file-updater
|
||||
PUBLIC .)
|
||||
|
||||
if(NOT MSVC AND NOT MINGW)
|
||||
target_compile_options(file-updater PRIVATE -fPIC)
|
||||
endif()
|
||||
|
||||
target_link_libraries(file-updater
|
||||
${LIBCURL_LIBRARIES}
|
||||
${file-updater_PLATFORM_DEPS}
|
||||
libobs)
|
||||
Loading…
Add table
Add a link
Reference in a new issue