架构大改之前
This commit is contained in:
Vendored
+5
@@ -2,6 +2,11 @@ include_guard(GLOBAL)
|
||||
|
||||
set(Aethera_FFmpeg_root
|
||||
"${CMAKE_CURRENT_LIST_DIR}/ffmpeg-9.0.1-full_build-shared")
|
||||
file(GLOB Aethera_FFmpeg_runtime_libraries CONFIGURE_DEPENDS
|
||||
"${Aethera_FFmpeg_root}/bin/*.dll")
|
||||
if (NOT Aethera_FFmpeg_runtime_libraries)
|
||||
message(FATAL_ERROR "Aethera FFmpeg runtime libraries were not found")
|
||||
endif ()
|
||||
|
||||
foreach(component IN ITEMS avutil avcodec swscale)
|
||||
add_library(Aethera_FFmpeg_${component} SHARED IMPORTED GLOBAL)
|
||||
|
||||
Reference in New Issue
Block a user