原文地址: https://blog.csdn.net/yangziluomu/article/details/72722361
add_definitions(-std=c++11)
or
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
原文地址: https://blog.csdn.net/yangziluomu/article/details/72722361
add_definitions(-std=c++11)
or
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")