cmake: Enable C++11
-cmake_minimum_required( VERSION 2.8.12 )
+cmake_minimum_required( VERSION 3.1 )
project( Maya )
@@ -97,6 +97,12 @@ set_target_properties(
SUFFIX "${plugin_suffix}"
)
+set_target_properties(
+ plugin
+ PROPERTIES
+ CXX_STANDARD 11
+ )
+
# Compile definitions
set( compile_definitions )
if ( ${CMAKE_SYSTEM_NAME} STREQUAL "Linux" )
