- 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
parent ca5ca8e974
commit 40f01b418f

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}")