mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-02-22 16:55:21 -05:00
26 lines
609 B
CMake
26 lines
609 B
CMake
include_guard(DIRECTORY)
|
|
|
|
find_package(nlohmann_json REQUIRED)
|
|
|
|
if(NOT TARGET OBS::blake2)
|
|
add_subdirectory("${CMAKE_SOURCE_DIR}/deps/blake2" "${CMAKE_BINARY_DIR}/deps/blake2")
|
|
endif()
|
|
|
|
target_sources(
|
|
obs-studio
|
|
PRIVATE
|
|
update/crypto-helpers-mac.mm
|
|
update/crypto-helpers.hpp
|
|
update/models/branches.hpp
|
|
update/models/whatsnew.hpp
|
|
update/shared-update.cpp
|
|
update/shared-update.hpp
|
|
update/update-helpers.cpp
|
|
update/update-helpers.hpp
|
|
)
|
|
|
|
target_link_libraries(
|
|
obs-studio
|
|
PRIVATE "$<LINK_LIBRARY:FRAMEWORK,Security.framework>" nlohmann_json::nlohmann_json OBS::blake2
|
|
)
|