Skip to content

Commit 117760b

Browse files
committed
mac attempt 4
1 parent 8e7b8d1 commit 117760b

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

CMakeLists.txt

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -97,17 +97,11 @@ else ()
9797
${CMAKE_SOURCE_DIR}/lib/libavfilter.a
9898
${CMAKE_SOURCE_DIR}/lib/libpostproc.a
9999
${CMAKE_SOURCE_DIR}/lib/libswresample.a
100-
${CMAKE_SOURCE_DIR}/lib/libswscale.a
100+
${CMAKE_SOURCE_DIR}/lib/libswscale.a
101+
${CMAKE_SOURCE_DIR}/lib/liblzma.a
101102
${BZIP2_LIBRARY}
102103
"-lm -lbz2 -lz -liconv -pthread -framework Security -framework VideoToolbox -framework CoreFoundation -framework CoreMedia -framework CoreVideo -framework CoreServices -framework CoreAudio -framework AVFoundation -framework CoreGraphics -framework AudioToolbox -framework Metal -framework CoreImage -framework AppKit"
103104
) # macos
104-
105-
if(NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64")
106-
set(STATIC_LIBS
107-
${STATIC_LIBS}
108-
${CMAKE_SOURCE_DIR}/lib/liblzma.a
109-
)
110-
endif()
111105
endif()
112106
target_link_libraries(${PROJECT_NAME} ${STATIC_LIBS})
113107

0 commit comments

Comments
 (0)