Commit d77047ca authored by Max Lyon's avatar Max Lyon
Browse files

require c++11 for demos

parent 63da6201
...@@ -61,4 +61,7 @@ endif() ...@@ -61,4 +61,7 @@ endif()
set_target_properties(cmdline_tool set_target_properties(cmdline_tool
PROPERTIES PROPERTIES
INCLUDE_DIRECTORIES "${CMDLINE_TOOL_INCLUDE_DIRS}" INCLUDE_DIRECTORIES "${CMDLINE_TOOL_INCLUDE_DIRS}"
CXX_STANDARD 11
CXX_STANDARD_REQUIRED YES
CXX_EXTENSIONS NO
) )
...@@ -61,5 +61,8 @@ endif() ...@@ -61,5 +61,8 @@ endif()
set_target_properties(minimum_example set_target_properties(minimum_example
PROPERTIES PROPERTIES
INCLUDE_DIRECTORIES "${MINIMUM_EXAMPLE_INCLUDE_DIRS}" INCLUDE_DIRECTORIES "${MINIMUM_EXAMPLE_INCLUDE_DIRS}"
CXX_STANDARD 11
CXX_STANDARD_REQUIRED YES
CXX_EXTENSIONS NO
) )
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment