obs-studio/deps/file-updater/CMakeLists.txt
PatTheMav aa137f0766 deps: Update CMake target source lists with alphabetic sorting
Also manually updates some CMake script files to make code more
readable.
2023-12-19 17:59:44 -05:00

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>)