Skip to content

Commit

Permalink
merge fix
Browse files Browse the repository at this point in the history
  • Loading branch information
summeroff committed Dec 8, 2023
1 parent a6f16df commit 47a641f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions mac/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
cmake_minimum_required(VERSION 3.22...3.25)

legacy_check()

find_package(FFmpeg REQUIRED COMPONENTS avcodec avdevice avutil avformat)

include_directories(${CMAKE_CURRENT_BINARY_DIR})
Expand All @@ -11,14 +13,14 @@ find_library(IOSURF IOSurface)
find_library(COCOA Cocoa)
find_library(GLKIT GLKit)

add_library(slobs-vritual-cam MODULE)
add_library(OBS::slobs-vritual-cam ALIAS slobs-vritual-cam)

add_subdirectory(vcam-assistant)
add_subdirectory(vcam-ipc)
add_subdirectory(vcam-plugin)
add_subdirectory(vcam-utils)

add_library(slobs-vritual-cam MODULE)
add_library(OBS::slobs-vritual-cam ALIAS slobs-vritual-cam)

include_directories(
${CMAKE_SOURCE_DIR}/libobs
"${vcam-ipc_SOURCE_DIR}/include/"
Expand All @@ -37,9 +39,7 @@ set(PROJECT_SOURCE
"${PROJECT_SOURCE_DIR}/vcam.hpp"
)

add_library(${PROJECT_NAME} MODULE
${PROJECT_SOURCE}
)
target_sources( slobs-vritual-cam PRIVATE ${PROJECT_SOURCE})

target_link_libraries(
slobs-virtual-cam
Expand Down

0 comments on commit 47a641f

Please sign in to comment.