Skip to content

Commit b9a31ec

Browse files
committed
Revert "Do not hardcode c++11 for unix builds"
This reverts commit 4348793. It is needed for Travis CI based on Ubuntu Trusty. Signed-off-by: Stefan Weil <[email protected]>
1 parent 359f3c5 commit b9a31ec

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

+3
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ if (CYGWIN)
131131
endif()
132132

133133
if (UNIX)
134+
# Hack for old cmake / compiler in Ubuntu Trusty.
135+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++11")
136+
134137
if (NOT ANDROID)
135138
set(LIB_pthread pthread)
136139
endif()

0 commit comments

Comments
 (0)