mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-27 13:20:34 +05:00
link FFMPEG and include stdlib
required for building with gcc-14 applies debian patches: include_stdlib.patch ffmpeg_link_libraries.patchd7ca1c564d/debian/patches/include_stdlib.patch
d7ca1c564d/debian/patches/ffmpeg_link_libraries.patch
Fixes: #192
This commit is contained in:
parent
63cb566b8d
commit
8737bff2bf
@ -439,6 +439,9 @@ if (USE_MPEG)
|
||||
find_package(FFMPEG REQUIRED)
|
||||
add_definitions(-DFFMPEG -D__STDC_CONSTANT_MACROS)
|
||||
include_directories(${FFMPEG_INCLUDE_DIR})
|
||||
if(USE_GUI)
|
||||
target_link_libraries(nggui INTERFACE ${FFMPEG_LIBRARIES})
|
||||
endif(USE_GUI)
|
||||
endif (USE_MPEG)
|
||||
|
||||
#######################################################################
|
||||
|
@ -3,6 +3,9 @@
|
||||
|
||||
#ifdef FFMPEG
|
||||
|
||||
#include <mystdlib.h>
|
||||
using namespace std;
|
||||
|
||||
extern "C" {
|
||||
#include <libavutil/avassert.h>
|
||||
#include <libavcodec/avcodec.h>
|
||||
|
Loading…
Reference in New Issue
Block a user