- explicit use of C++11 standard for TiMidity++

This fixes compilation with older GCC and Clang
This commit is contained in:
alexey.lysiuk 2019-09-24 11:57:40 +03:00 committed by drfrag
parent 8542d73994
commit bb1884bdba

View file

@ -4,6 +4,7 @@ make_release_only()
if( ZD_CMAKE_COMPILER_IS_GNUC_COMPATIBLE )
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wno-unused-parameter -fomit-frame-pointer" )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11" )
endif()
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${ZD_FASTMATH_FLAG}")