Commit 72c7f014 authored by Vitaly Takmazov's avatar Vitaly Takmazov

cmake: do not add -std=c++11 to C targets (dfrotz, mongoose)

parent 55d7c188
......@@ -42,7 +42,7 @@ if( SWIFTEN_LIBRARY AND SWIFTEN_INCLUDE_DIR )
if("${SWIFTEN_VERSION}" STRGREATER "4" AND NOT MSVC)
message( STATUS "Found Swiften > 4 requesting C++11")
add_definitions(-std=c++11)
set(CMAKE_CXX_FLAGS "-std=c++11 ${CMAKE_CXX_FLAGS}")
endif()
set( SWIFTEN_FOUND 1 )
......
Markdown is supported
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