Skip to content

Commit

Permalink
🚧 change link
Browse files Browse the repository at this point in the history
  • Loading branch information
tristetemps666 committed Aug 3, 2023
1 parent 386129a commit f616f9f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ file(GLOB_RECURSE SRC_FILES_MACOS CONFIGURE_DEPENDS src/*.mm)
target_sources(webcam_info PRIVATE ${SRC_FILES})

if(APPLE)
# Find CoreMedia and CoreMediaIO frameworks
find_library(AVFOUNDATION_FRAMEWORK AVFoundation)
target_link_libraries(${PROJECT_NAME} PRIVATE "-framework ${AVFOUNDATION_FRAMEWORK}")
target_link_libraries(${PROJECT_NAME} PRIVATE "-framework AVFoundation")

if(NOT XCODE)
target_sources(webcam_info PRIVATE ${SRC_FILES_MACOS})
Expand Down

0 comments on commit f616f9f

Please sign in to comment.