Commit d5df6249 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Handle build for Android with CMake.

parent ab1dd51b
...@@ -86,6 +86,10 @@ add_definitions(-DHAVE_CONFIG_H) ...@@ -86,6 +86,10 @@ add_definitions(-DHAVE_CONFIG_H)
if(WIN32) if(WIN32)
add_definitions(-DWEBRTC_WIN) add_definitions(-DWEBRTC_WIN)
endif() endif()
if(ANDROID)
add_definitions("-DANDROID")
endif()
if(CMAKE_SYSTEM_NAME STREQUAL "WindowsPhone" AND CMAKE_GENERATOR_PLATFORM STREQUAL "ARM") if(CMAKE_SYSTEM_NAME STREQUAL "WindowsPhone" AND CMAKE_GENERATOR_PLATFORM STREQUAL "ARM")
add_definitions( add_definitions(
-D__ARMEL__ -D__ARMEL__
......
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