mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-19 01:29:18 +00:00
13 lines
443 B
CMake
13 lines
443 B
CMake
cmake_minimum_required(VERSION 3.22...3.25)
|
|
|
|
find_package(CURL REQUIRED)
|
|
|
|
add_library(file-updater INTERFACE)
|
|
add_library(OBS::file-updater ALIAS file-updater)
|
|
|
|
target_sources(file-updater INTERFACE file-updater/file-updater.c file-updater/file-updater.h)
|
|
|
|
target_include_directories(file-updater INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}")
|
|
|
|
target_link_libraries(file-updater INTERFACE CURL::libcurl $<$<PLATFORM_ID:Windows>:OBS::w32-pthreads>)
|