feature-macos-update.cmake 478 B

12345678910
  1. include_guard(DIRECTORY)
  2. if(NOT TARGET OBS::blake2)
  3. add_subdirectory("${CMAKE_SOURCE_DIR}/deps/blake2" "${CMAKE_BINARY_DIR}/deps/blake2")
  4. endif()
  5. target_sources(obs-studio PRIVATE update/crypto-helpers.hpp update/crypto-helpers-mac.mm update/shared-update.cpp
  6. update/shared-update.hpp update/update-helpers.cpp update/update-helpers.hpp)
  7. target_link_libraries(obs-studio PRIVATE "$<LINK_LIBRARY:FRAMEWORK,Security.framework>" OBS::blake2)