Don't change global compiler flags when FFmpeg is enabled

It should no be longer needed. If it causes the issues please let me know
to find a more cleaner solution.
This commit is contained in:
Sergey Sharybin 2014-10-21 03:21:09 +06:00
parent abb266973d
commit 560dd932c2
Notes: blender-bot 2023-02-14 09:55:21 +01:00
Referenced by issue #42374, Hair dynamics doesn't cache to disk correctly if cache step is greater than 1
Referenced by issue #42338, issue with shortcuts
Referenced by issue #42326, Trim operation not canceled via ESC key
1 changed files with 0 additions and 2 deletions

View File

@ -789,7 +789,6 @@ if(UNIX AND NOT APPLE)
mark_as_advanced(FFMPEG_LIBRARIES)
set(FFMPEG_LIBPATH ${FFMPEG}/lib)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D__STDC_CONSTANT_MACROS")
endif()
if(WITH_FFTW3)
@ -1801,7 +1800,6 @@ elseif(APPLE)
set(FFMPEG_INCLUDE_DIRS ${FFMPEG}/include)
set(FFMPEG_LIBRARIES avcodec avdevice avformat avutil mp3lame swscale x264 xvidcore theora theoradec theoraenc vorbis vorbisenc vorbisfile ogg)
set(FFMPEG_LIBPATH ${FFMPEG}/lib)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D__STDC_CONSTANT_MACROS")
endif()
find_library(SYSTEMSTUBS_LIBRARY