Fix build with warnings turned on.
This commit is contained in:
parent
509055876b
commit
4d457153b7
29 changed files with 90 additions and 71 deletions
4
external/android-emugl/CMakeLists.txt
vendored
4
external/android-emugl/CMakeLists.txt
vendored
|
|
@ -1,6 +1,10 @@
|
|||
# Don't treat any warnings as error as we take the source directly from
|
||||
# upstream and just compile it.
|
||||
set(CMAKE_C_FLAGS "-Wall")
|
||||
set(CMAKE_CXX_FLAGS "-std=c++11 -Wall")
|
||||
|
||||
# Ensure -fPIC
|
||||
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
include_directories(
|
||||
${CMAKE_SOURCE_DIR}/src
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue