use C++11 since googletest has moved to C++11

This commit is contained in:
Eisoku Kuroiwa 2018-10-07 20:25:55 +09:00 committed by GitHub
parent 40f82ce56a
commit 2a878ef9c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,5 @@
cmake_minimum_required(VERSION 2.8.8)
add_definitions(-std=c++11)
if (POLICY CMP0048)
cmake_policy(SET CMP0048 NEW)