Update CMakeLists.txt for x86 ffmpeg.

This commit is contained in:
The Dax 2013-09-29 14:27:25 -04:00
parent 4582902cf2
commit aa0d65a2cb

View File

@ -1162,7 +1162,11 @@ if(USE_FFMPEG AND NOT DEFINED FFMPEG_BUILDDIR)
elseif(MACOSX)
set(PLATFORM_ARCH "macosx/x86_64")
elseif(LINUX)
set(PLATFORM_ARCH "linux/x86_64")
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
set(PLATFORM_ARCH "linux/x86_64")
else()
set(PLATFORM_ARCH "linux/x86")
endif()
endif()
# Using static libraries
if (DEFINED PLATFORM_ARCH)