Skip to content
Snippets Groups Projects
Commit b896507f authored by Ludovic Hussonnois's avatar Ludovic Hussonnois
Browse files

DOC: Correct --std=c++11 to -std=c++11.

parent 2d0b525c
Branches
Tags
No related merge requests found
......@@ -171,7 +171,7 @@ foreach(otb-module ${OTB_MODULES_ALL})
if(${otb-module}_ENABLED)
# check cxx11 requirement after all enable/disable macros have been passed
if(OTB_MODULE_${otb-module}_REQUIRES_CXX11 AND NOT OTB_HAS_CXX11)
message(FATAL_ERROR "Module ${otb-module} requires C++11 support. Consider adding --std=c++11 to your compiler flags or disabling it.")
message(FATAL_ERROR "Module ${otb-module} requires C++11 support. Consider adding -std=c++11 to your compiler flags or disabling it.")
endif()
list(APPEND OTB_MODULES_ENABLED ${otb-module})
......
......@@ -177,7 +177,7 @@ endmacro()
macro(package_require_cxx11 project)
if(NOT OTB_HAS_CXX11)
message(FATAL_ERROR "${project} requires C++11 support. consider adding --std=c++11 to your cxx compiler flags or disable ${project} ")
message(FATAL_ERROR "${project} requires C++11 support. consider adding -std=c++11 to your cxx compiler flags or disable ${project} ")
endif()
endmacro()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment