Commit fb685095 authored by Ghislain MARY's avatar Ghislain MARY

Fix build of libvpx on Mac OS X with Xcode.

parent 54be9223
......@@ -113,6 +113,11 @@ else()
else()
set(EP_vpx_TARGET "x86-darwin10-gcc")
endif()
if(CMAKE_GENERATOR STREQUAL "Xcode")
# It appears that the build occurs in the cmake directory instead of the Build/vpx one with Xcode, so these flags are needed for include files to be found...
set(EP_vpx_EXTRA_CFLAGS "${EP_vpx_EXTRA_CFLAGS} -I${LINPHONE_BUILDER_WORK_DIR}/Build/vpx")
set(EP_vpx_EXTRA_ASFLAGS "${EP_vpx_EXTRA_ASFLAGS} -I${LINPHONE_BUILDER_WORK_DIR}/Build/vpx")
endif()
endif()
set(EP_vpx_LINKING_TYPE "--enable-static" "--disable-shared" "--enable-pic")
elseif(ANDROID)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment