mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 04:13:01 +00:00
a47e340955
This is suggested in https://github.com/anbox/anbox/issues/2119 to support newer versions of gtest.
12 lines
379 B
Diff
12 lines
379 B
Diff
--- a/external/android-emugl/CMakeLists.txt
|
|
+++ b/external/android-emugl/CMakeLists.txt
|
|
@@ -1,7 +1,7 @@
|
|
# 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")
|
|
+set(CMAKE_CXX_FLAGS "-std=c++14 -Wall")
|
|
|
|
# Ensure -fPIC
|
|
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|